summaryrefslogtreecommitdiff
path: root/test/PCH/preamble.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/preamble.c')
-rw-r--r--test/PCH/preamble.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/PCH/preamble.c b/test/PCH/preamble.c
index bdc0aea65639f..6a61fa10ffa1a 100644
--- a/test/PCH/preamble.c
+++ b/test/PCH/preamble.c
@@ -1,7 +1,7 @@
// Check that using the preamble option actually skips the preamble.
-// RUN: %clang_cc1 -emit-pch -o %t %S/Inputs/preamble.h
-// RUN: %clang_cc1 -include-pch %t -preamble-bytes=278,1 -DFOO=f -verify %s
+// RUN: %clang_cc1 -emit-pch -o %t %S/Inputs/preamble.h -DFOO=f
+// RUN: %clang_cc1 -include-pch %t -preamble-bytes=317,1 -DFOO=f -verify %s -emit-llvm -o - | FileCheck %s
float f(int); // Not an error, because we skip this via the preamble!
@@ -19,3 +19,5 @@ float f(int); // Not an error, because we skip this via the preamble!
int g(int x) {
return FOO(x);
}
+
+// CHECK: call {{.*}} @f(