aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp
diff options
context:
space:
mode:
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.cpp5
1 files changed, 2 insertions, 3 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 129a4f4e77..ac11940c80 100644
--- a/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp
+++ b/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp
@@ -29,8 +29,7 @@ bool b8 = !S(); //expected-error {{invalid argument type 'S'}}
namespace PR8181
{
- void f() { } // expected-note{{possible target for call}}
+ bool f() { } // expected-note{{possible target for call}}
void f(char) { } // expected-note{{possible target for call}}
- bool b = !&f; //expected-error {{reference to overloaded function could not be resolved; did you mean to call it?}}
-
+ bool b = !&f; //expected-error {{reference to overloaded function could not be resolved; did you mean to call it with no arguments?}}
}