summaryrefslogtreecommitdiff
path: root/clang/test/FixIt/fixit-recompile.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/FixIt/fixit-recompile.c')
-rw-r--r--clang/test/FixIt/fixit-recompile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-recompile.c b/clang/test/FixIt/fixit-recompile.c
new file mode 100644
index 0000000..a2e62fb
--- /dev/null
+++ b/clang/test/FixIt/fixit-recompile.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -Werror -pedantic %s -fixit-recompile -fixit-to-temporary -E -o - | FileCheck %s
+// RUN: not %clang_cc1 -Werror -pedantic %s -fixit-recompile -fixit-to-temporary -fix-only-warnings
+
+_Complex cd;
+
+// CHECK: _Complex double cd;