diff options
Diffstat (limited to 'test/FixIt/typo.c')
-rw-r--r-- | test/FixIt/typo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/FixIt/typo.c b/test/FixIt/typo.c index 0777551..72e3d65 100644 --- a/test/FixIt/typo.c +++ b/test/FixIt/typo.c @@ -1,17 +1,18 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -// RUN: %clang_cc1 -fsyntax-only -fixit -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c - +// RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x c - struct Point { float x, y; }; struct Rectangle { - struct Point top_left, bottom_right; + struct Point top_left, // expected-note{{'top_left' declared here}} + bottom_right; }; enum Color { Red, Green, Blue }; struct Window { - struct Rectangle bounds; + struct Rectangle bounds; // expected-note{{'bounds' declared here}} enum Color color; }; |