Richard Smith | f122a13 | 2012-06-13 20:27:03 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -isystem-prefix libs/ -ino-system-prefix libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s |
| 2 | |
| 3 | #include "src/all.h" |
| 4 | |
| 5 | // CHECK-NOT: BOOST |
| 6 | // CHECK: libs/mylib/warn.h:1:5: warning: 'MYLIB' is not defined, evaluates to 0 |
| 7 | // CHECK-NOT: BOOST |
| 8 | // CHECK: libs/mylib/warn.h:1:5: warning: 'MYLIB' is not defined, evaluates to 0 |
| 9 | // CHECK-NOT: BOOST |
| 10 | // CHECK: src/warn.h:1:5: warning: 'SRC' is not defined, evaluates to 0 |
| 11 | // CHECK-NOT: BOOST |