summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-unrecoverable.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit-unrecoverable.c')
-rw-r--r--test/FixIt/fixit-unrecoverable.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FixIt/fixit-unrecoverable.c b/test/FixIt/fixit-unrecoverable.c
new file mode 100644
index 0000000..8052beb
--- /dev/null
+++ b/test/FixIt/fixit-unrecoverable.c
@@ -0,0 +1,10 @@
+/* FIXME: This is a file containing various typos for which we can
+ suggest corrections but are unable to actually recover from
+ them. Ideally, we would eliminate all such cases and move these
+ tests elsewhere. */
+
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// FIXME: Sadly, the following doesn't work within a function.
+
+unsinged x = 17; // expected-error{{unknown type name 'unsinged'; did you mean 'unsigned'?}}
OpenPOWER on IntegriCloud