diff options
Diffstat (limited to 'test/SemaCXX/trailing-return-0x.cpp')
-rw-r--r-- | test/SemaCXX/trailing-return-0x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/trailing-return-0x.cpp b/test/SemaCXX/trailing-return-0x.cpp index 0912750ee0..b52b240da3 100644 --- a/test/SemaCXX/trailing-return-0x.cpp +++ b/test/SemaCXX/trailing-return-0x.cpp @@ -19,7 +19,7 @@ auto f() -> int auto g(); // expected-error{{return without trailing return type}} -int h() -> int; // expected-error{{trailing return type without 'auto'}} +int h() -> int; // expected-error{{trailing return type must specify return type 'auto', not 'int'}} int x; |