diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-10-26 19:42:43 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-10-26 19:42:43 +0000 |
| commit | df4994cc5a7178098c6d709afef9fb19301508e7 (patch) | |
| tree | 4a32504a7aea6436709d54394fd2041e81796812 /clang/test/SemaCXX/alignof.cpp | |
| parent | 9fd917ba3d97e1acb86f71f3be76b2b544d194ea (diff) | |
| download | bcm5719-llvm-df4994cc5a7178098c6d709afef9fb19301508e7.tar.gz bcm5719-llvm-df4994cc5a7178098c6d709afef9fb19301508e7.zip | |
Fix test expectation to match reality.
llvm-svn: 345423
Diffstat (limited to 'clang/test/SemaCXX/alignof.cpp')
| -rw-r--r-- | clang/test/SemaCXX/alignof.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/alignof.cpp b/clang/test/SemaCXX/alignof.cpp index 90526c04819..2895cb9d46c 100644 --- a/clang/test/SemaCXX/alignof.cpp +++ b/clang/test/SemaCXX/alignof.cpp @@ -4,9 +4,9 @@ struct S0 { int x; - static const int test0 = __alignof__(x); // expected-error {{invalid application of '__alignof' to a field of a class still being defined}} - static const int test1 = __alignof__(S0::x); // expected-error {{invalid application of '__alignof' to a field of a class still being defined}} - auto test2() -> char(&)[__alignof__(x)]; // expected-error {{invalid application of '__alignof' to a field of a class still being defined}} + static const int test0 = __alignof__(x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} + static const int test1 = __alignof__(S0::x); // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} + auto test2() -> char(&)[__alignof__(x)]; // expected-error {{invalid application of 'alignof' to a field of a class still being defined}} }; struct S1; // expected-note 6 {{forward declaration}} |

