diff options
Diffstat (limited to 'test/PCH/pragma-comment.c')
-rw-r--r-- | test/PCH/pragma-comment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/PCH/pragma-comment.c b/test/PCH/pragma-comment.c index 14cbf6a2b5..07c3d40d3b 100644 --- a/test/PCH/pragma-comment.c +++ b/test/PCH/pragma-comment.c @@ -1,7 +1,10 @@ // Test this without pch. +// RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm -include %s -o - | FileCheck %s // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm -include %s -o - | FileCheck %s // Test with pch. +// RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-pch -o %t +// RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple thumbv7-windows -fms-extensions -emit-llvm -include-pch %t -o - | FileCheck %s // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-pch -o %t // RUN: %clang_cc1 %s -Wunknown-pragmas -Werror -triple x86_64-pc-win32 -fms-extensions -emit-llvm -include-pch %t -o - | FileCheck %s |