summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/first-line-indent.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/first-line-indent.c')
-rw-r--r--test/Preprocessor/first-line-indent.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Preprocessor/first-line-indent.c b/test/Preprocessor/first-line-indent.c
new file mode 100644
index 0000000..d220d57
--- /dev/null
+++ b/test/Preprocessor/first-line-indent.c
@@ -0,0 +1,7 @@
+ foo
+// RUN: %clang_cc1 -E %s | FileCheck -strict-whitespace %s
+ bar
+
+// CHECK: {{^ }}foo
+// CHECK: {{^ }}bar
+
OpenPOWER on IntegriCloud