summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/attr-unavailable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/attr-unavailable.cpp')
-rw-r--r--test/SemaCXX/attr-unavailable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/attr-unavailable.cpp b/test/SemaCXX/attr-unavailable.cpp
index bebd4cb..8b381df 100644
--- a/test/SemaCXX/attr-unavailable.cpp
+++ b/test/SemaCXX/attr-unavailable.cpp
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-int &foo(int);
-double &foo(double);
+int &foo(int); // expected-note {{candidate}}
+double &foo(double); // expected-note {{candidate}}
void foo(...) __attribute__((__unavailable__)); // expected-note {{candidate function}} \
// expected-note{{function has been explicitly marked unavailable here}}
OpenPOWER on IntegriCloud