diff options
Diffstat (limited to 'test/PCH/reloc.c')
-rw-r--r-- | test/PCH/reloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/PCH/reloc.c b/test/PCH/reloc.c index fd78feb..5d51eee 100644 --- a/test/PCH/reloc.c +++ b/test/PCH/reloc.c @@ -1,6 +1,8 @@ -// RUN: %clang_cc1 -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h -// RUN: %clang_cc1 -include-pch %t -isysroot %S/libroot %s -verify -// RUN: not %clang_cc1 -include-pch %t %s +// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 --relocatable-pch -o %t \ +// RUN: -isysroot %S/libroot %S/libroot/usr/include/reloc.h +// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -fsyntax-only \ +// RUN: -include-pch %t -isysroot %S/libroot %s -Xclang -verify +// RUN: not %clang -ccc-host-triple x86_64-apple-darwin10 -include-pch %t %s #include <reloc.h> @@ -8,7 +10,5 @@ int x = 2; // expected-error{{redefinition}} int y = 5; // expected-error{{redefinition}} - - // expected-note{{previous definition}} // expected-note{{previous definition}} |