diff options
Diffstat (limited to 'test/PCH/cxx11-user-defined-literals.cpp')
-rw-r--r-- | test/PCH/cxx11-user-defined-literals.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/PCH/cxx11-user-defined-literals.cpp b/test/PCH/cxx11-user-defined-literals.cpp index 4a7c24b..7ad17f5 100644 --- a/test/PCH/cxx11-user-defined-literals.cpp +++ b/test/PCH/cxx11-user-defined-literals.cpp @@ -8,7 +8,7 @@ using size_t = decltype(sizeof(int)); int operator"" _foo(const char *p, size_t); -template<typename T> auto f(T t) -> decltype(t + ""_foo) { return 0; } // expected-note {{substitution failure}} +template<typename T> auto f(T t) -> decltype(t + ""_foo) { return 0; } #else @@ -17,5 +17,6 @@ int k = f(0); int *l = f(&k); struct S {}; int m = f(S()); // expected-error {{no matching}} + // expected-note@11 {{substitution failure}} #endif |