brintos

brintos / llvm-project-archived public Read only

0
0
Text · 375 B · dc2ad75 Raw
12 lines · cpp
1// RUN: rm -rf %t2// RUN: %clang_cc1 -verify -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s3 4#include "linkage-merge-bar.h"5 6static int f(int);7int f(int);8 9static void g(int);10// expected-error@9 {{functions that differ only in their return type cannot be overloaded}}11// expected-note@Inputs/linkage-merge-foo.h:2 {{previous declaration is here}}12