summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-at.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-at.c')
-rw-r--r--test/FixIt/fixit-at.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FixIt/fixit-at.c b/test/FixIt/fixit-at.c
new file mode 100644
index 0000000..42488f5
--- /dev/null
+++ b/test/FixIt/fixit-at.c
@@ -0,0 +1,5 @@
+// RUN: clang-cc -fsyntax-only -fixit-at=fixit-at.c:3:1 %s -o - | clang-cc -verify -x c -
+
+_Complex cd;
+
+int i0[1] = { { 17 } }; // expected-warning{{braces}}
OpenPOWER on IntegriCloud