brintos

brintos / llvm-project-archived public Read only

0
0
Text · 666 B · 55b954f Raw
13 lines · c
1// RUN: %clang --system-header-prefix=libs/ --no-system-header-prefix=libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s2// RUN: %clang --system-header-prefix libs/ --no-system-header-prefix libs/mylib/ -I%S/Inputs/SystemHeaderPrefix -Wundef -E %s 2>&1 | FileCheck %s3 4#include "src/all.h"5 6// CHECK-NOT: BOOST7// CHECK: libs{{/|\\}}mylib{{/|\\}}warn.h:1:5: warning: 'MYLIB' is not defined, evaluates to 08// CHECK-NOT: BOOST9// CHECK: libs{{/|\\}}mylib{{/|\\}}warn.h:1:5: warning: 'MYLIB' is not defined, evaluates to 010// CHECK-NOT: BOOST11// CHECK: src{{/|\\}}warn.h:1:5: warning: 'SRC' is not defined, evaluates to 012// CHECK-NOT: BOOST13