diff options
Diffstat (limited to 'test/CXX/expr/expr.unary/expr.unary.op/p6.cpp')
-rw-r--r-- | test/CXX/expr/expr.unary/expr.unary.op/p6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp b/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp index eea2c33ffe..543a86d4e3 100644 --- a/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp +++ b/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp @@ -31,6 +31,6 @@ namespace PR8181 { void f() { } void f(char) { } - bool b = !&f; //expected-error {{value of type '<overloaded function type>' is not contextually convertible to 'bool'}} + bool b = !&f; //expected-error {{cannot resolve overloaded function from context}} } |