summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-suffix.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-suffix.c')
-rw-r--r--test/FixIt/fixit-suffix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FixIt/fixit-suffix.c b/test/FixIt/fixit-suffix.c
new file mode 100644
index 0000000..a1a747a
--- /dev/null
+++ b/test/FixIt/fixit-suffix.c
@@ -0,0 +1,5 @@
+// RUN: cp %s %t.extrasuffix
+// RUN: %clang_cc1 -fixit=fixed -x c %t.extrasuffix
+// RUN: %clang_cc1 -Werror -pedantic -x c %t.fixed.extrasuffix
+
+_Complex cd;
OpenPOWER on IntegriCloud