diff options
Diffstat (limited to 'clang/test/FixIt/no-typo.c')
-rw-r--r-- | clang/test/FixIt/no-typo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/FixIt/no-typo.c b/clang/test/FixIt/no-typo.c new file mode 100644 index 0000000..05947e8 --- /dev/null +++ b/clang/test/FixIt/no-typo.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -fsyntax-only -fno-spell-checking -verify %s +typedef struct { + float x, y; +} Point; + +point p1; // expected-error{{unknown type name 'point'}} |