blob: 31194d96e58c29d8acb083304a3c7ea4618f7786 [file] [log] [blame]
Richard Smithf122a132012-06-13 20:27:03 +00001// 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