summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend')
-rw-r--r--clang/test/Frontend/preprocessed-input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Frontend/preprocessed-input.c b/clang/test/Frontend/preprocessed-input.c
new file mode 100644
index 00000000000..f9c449a846e
--- /dev/null
+++ b/clang/test/Frontend/preprocessed-input.c
@@ -0,0 +1,4 @@
+// RUN: %clang -E -o %t.i %s
+// RUN: %clang -Xclang -triple -Xclang i686-linux-gnu -c -o %t.o %t.i
+// RUN: llvm-objdump -t %t.o | FileCheck %s
+// CHECK: l{{ +}}df{{ +}}*ABS*{{ +}}{{0+}}{{.+}}preprocessed-input.c{{$}}
OpenPOWER on IntegriCloud