1 | // RUN: not %clang_cc1 %s -emit-llvm -o /dev/null |
---|---|
2 | #include "2006-09-25-DebugFilename.h" |
3 | int func1() { return hfunc1(); } |
4 | int func2() { fluffy; return hfunc1(); } // expected-error {{use of undeclared identifier 'fluffy'}} |
5 |
1 | // RUN: not %clang_cc1 %s -emit-llvm -o /dev/null |
---|---|
2 | #include "2006-09-25-DebugFilename.h" |
3 | int func1() { return hfunc1(); } |
4 | int func2() { fluffy; return hfunc1(); } // expected-error {{use of undeclared identifier 'fluffy'}} |
5 |