diff options
Diffstat (limited to 'clang/test/SemaCXX/instantiate-blocks.cpp')
-rw-r--r-- | clang/test/SemaCXX/instantiate-blocks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/instantiate-blocks.cpp b/clang/test/SemaCXX/instantiate-blocks.cpp index 799951a0aea..bb0f8d881d3 100644 --- a/clang/test/SemaCXX/instantiate-blocks.cpp +++ b/clang/test/SemaCXX/instantiate-blocks.cpp @@ -19,7 +19,7 @@ template <typename T, typename T1> void noret(T t, T1 r) if (1) return t; else if (2) - return r; // expected-error {{return type 'const double' must match previous return type 'float' when block literal has unspecified explicit return type}} + return r; // expected-error {{return type 'double' must match previous return type 'float' when block literal has unspecified explicit return type}} }; } |