summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/dcl_ambig_res.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/dcl_ambig_res.cpp')
-rw-r--r--test/SemaCXX/dcl_ambig_res.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaCXX/dcl_ambig_res.cpp b/test/SemaCXX/dcl_ambig_res.cpp
index f0ba297..fa71b11 100644
--- a/test/SemaCXX/dcl_ambig_res.cpp
+++ b/test/SemaCXX/dcl_ambig_res.cpp
@@ -71,3 +71,6 @@ struct S5 {
int foo8() {
int v(int(S5::value)); // expected-warning{{disambiguated}} expected-error{{parameter declarator cannot be qualified}}
}
+
+template<typename T>
+void rdar8739801( void (T::*)( void ) __attribute__((unused)) );
OpenPOWER on IntegriCloud