34 lines · c
1// RUN: %clang_cc1 -emit-llvm -o %t %s2// RUN: not grep "@pipe()" %t3// RUN: grep '_thisIsNotAPipe' %t | count 34// RUN: not grep '@g0' %t5// RUN: grep '_renamed' %t | count 26// RUN: %clang_cc1 -DUSE_DEF -emit-llvm -o %t %s7// RUN: not grep "@pipe()" %t8// RUN: grep '_thisIsNotAPipe' %t | count 39// <rdr://6116729>10 11void pipe() asm("_thisIsNotAPipe");12 13void f0(void) {14 pipe();15}16 17void pipe(int);18 19void f1(void) {20 pipe(1);21}22 23#ifdef USE_DEF24void pipe(int arg) {25 int x = 10;26}27#endif28 29// PR369830extern int g0 asm("_renamed");31int f2(void) {32 return g0;33}34