summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/cpp0x/rv6n.C
diff options
context:
space:
mode:
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-18 22:29:39 +0000
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-18 22:29:39 +0000
commit7ad4a8fcd7624fa83956a5defbe1f631566de2d8 (patch)
tree3f57578e9e6379fbd49d7464a45a2575c8a5cf34 /gcc/testsuite/g++.dg/cpp0x/rv6n.C
parente448e6a4c18cb11909266527821dfa927b87b7cd (diff)
downloadppe42-gcc-7ad4a8fcd7624fa83956a5defbe1f631566de2d8.tar.gz
ppe42-gcc-7ad4a8fcd7624fa83956a5defbe1f631566de2d8.zip
PR testsuite/25241
* lib/g++.exp (g++_init): Enable overrides of dg-error, dg-warning for C++ tests. * g++.dg/conversion/ambig1.C: Clean up dg-error/dg-warning; use dg-message for notes. * g++.dg/conversion/simd1.C: Ditto. * g++.dg/conversion/simd3.C: Ditto. * g++.dg/cpp0x/rv2n.C: Ditto. * g++.dg/cpp0x/rv3n.C: Ditto. * g++.dg/cpp0x/rv4n.C: Ditto. * g++.dg/cpp0x/rv5n.C: Ditto. * g++.dg/cpp0x/rv6n.C: Ditto. * g++.dg/cpp0x/rv7n.C: Ditto. * g++.dg/cpp0x/variadic36.C: Ditto. * g++.dg/cpp0x/variadic59.C: Ditto. * g++.dg/cpp0x/variadic71.C: Ditto. * g++.dg/cpp0x/variadic-ex13.C: Ditto. * g++.dg/expr/cond9.C: Ditto. * g++.dg/expr/pmf-1.C: Ditto. * g++.dg/ext/case-range2.C: Ditto. * g++.dg/ext/case-range3.C: Ditto. * g++.dg/ext/is_class_error2.C: Ditto. * g++.dg/ext/label5.C: Ditto. * g++.dg/ext/pr27019.C: Ditto. * g++.dg/gomp/pr26690-1.C: Ditto. * g++.dg/gomp/pr26690-2.C: Ditto. * g++.dg/gomp/pr34694.C: Ditto. * g++.dg/gomp/tpl-parallel-2.C: Ditto. * g++.dg/inherit/base3.C: Ditto. * g++.dg/inherit/using6.C: Ditto. * g++.dg/init/brace6.C: Ditto. * g++.dg/init/ctor4.C: Ditto. * g++.dg/lookup/conv-1.C: Ditto. * g++.dg/lookup/new1.C: Ditto. * g++.dg/lookup/scoped6.C: Ditto. * g++.dg/lookup/using7.C: Ditto. * g++.dg/lookup/using9.C: Ditto. * g++.dg/other/abstract1.C: Ditto. * g++.dg/other/abstract2.C: Ditto. * g++.dg/other/anon5.C: Ditto. * g++.dg/other/crash-4.C: Ditto. * g++.dg/other/error10.C: Ditto. * g++.dg/other/error13.C: Ditto. * g++.dg/other/error20.C: Ditto. * g++.dg/other/error5.C: Ditto. * g++.dg/other/field1.C: Ditto. * g++.dg/other/offsetof5.C: Ditto. * g++.dg/other/semicolon.C: Ditto. * g++.dg/overload/ambig1.C: Ditto. * g++.dg/overload/arg3.C: Ditto. * g++.dg/overload/builtin1.C: Ditto. * g++.dg/overload/copy1.C: Ditto. * g++.dg/overload/new1.C: Ditto. * g++.dg/overload/template4.C: Ditto. * g++.dg/overload/using2.C: Ditto. * g++.dg/parse/bitfield2.C: Ditto. * g++.dg/parse/constant4.C: Ditto. * g++.dg/parse/crash20.C: Ditto. * g++.dg/parse/crash36.C: Ditto. * g++.dg/parse/crash5.C: Ditto. * g++.dg/parse/error11.C: Ditto. * g++.dg/parse/error12.C: Ditto. * g++.dg/parse/error19.C: Ditto. * g++.dg/parse/error28.C: Ditto. * g++.dg/parse/friend5.C: Ditto. * g++.dg/parse/invalid-op1.C: Ditto. * g++.dg/parse/missing-template1.C: Ditto. * g++.dg/parse/non-dependent2.C: Ditto. * g++.dg/parse/ret-type2.C: Ditto. * g++.dg/parse/specialization1.C: Ditto. * g++.dg/parse/template18.C: Ditto. * g++.dg/parse/template3.C: Ditto. * g++.dg/parse/template9.C: Ditto. * g++.dg/tc1/dr108.C: Ditto. * g++.dg/tc1/dr152.C: Ditto. * g++.dg/tc1/dr166.C: Ditto. * g++.dg/template/access11.C: Ditto. * g++.dg/template/access2.C: Ditto. * g++.dg/template/access3.C: Ditto. * g++.dg/template/access7.C: Ditto. * g++.dg/template/copy1.C: Ditto. * g++.dg/template/crash13.C: Ditto. * g++.dg/template/crash37.C: Ditto. * g++.dg/template/crash40.C: Ditto. * g++.dg/template/crash58.C: Ditto. * g++.dg/template/ctor5.C: Ditto. * g++.dg/template/dependent-expr5.C: Ditto. * g++.dg/template/eh2.C: Ditto. * g++.dg/template/error2.C: Ditto. * g++.dg/template/error33.C: Ditto. * g++.dg/template/error4.C: Ditto. * g++.dg/template/friend31.C: Ditto. * g++.dg/template/friend32.C: Ditto. * g++.dg/template/instantiate1.C: Ditto. * g++.dg/template/instantiate3.C: Ditto. * g++.dg/template/instantiate5.C: Ditto. * g++.dg/template/instantiate7.C: Ditto. * g++.dg/template/local6.C: Ditto. * g++.dg/template/lookup2.C: Ditto. * g++.dg/template/member5.C: Ditto. * g++.dg/template/memfriend15.C: Ditto. * g++.dg/template/memfriend16.C: Ditto. * g++.dg/template/memfriend17.C: Ditto. * g++.dg/template/memfriend7.C: Ditto. * g++.dg/template/meminit1.C: Ditto. * g++.dg/template/nested3.C: Ditto. * g++.dg/template/new3.C: Ditto. * g++.dg/template/nontype12.C: Ditto. * g++.dg/template/nontype13.C: Ditto. * g++.dg/template/nontype6.C: Ditto. * g++.dg/template/non-type-template-argument-1.C: Ditto. * g++.dg/template/overload9.C: Ditto. * g++.dg/template/ptrmem15.C: Ditto. * g++.dg/template/ptrmem17.C: Ditto. * g++.dg/template/ptrmem4.C: Ditto. * g++.dg/template/ptrmem6.C: Ditto. * g++.dg/template/ptrmem8.C: Ditto. * g++.dg/template/qualified-id1.C: Ditto. * g++.dg/template/qualttp20.C: Ditto. * g++.dg/template/qualttp3.C: Ditto. * g++.dg/template/qualttp4.C: Ditto. * g++.dg/template/qualttp5.C: Ditto. * g++.dg/template/qualttp6.C: Ditto. * g++.dg/template/qualttp7.C: Ditto. * g++.dg/template/qualttp8.C: Ditto. * g++.dg/template/recurse.C: Ditto. * g++.dg/template/sfinae10.C: Ditto. * g++.dg/template/sfinae3.C: Ditto. * g++.dg/template/spec22.C: Ditto. * g++.dg/template/spec23.C: Ditto. * g++.dg/template/static9.C: Ditto. * g++.dg/template/template-id-2.C: Ditto. * g++.dg/template/typename2.C: Ditto. * g++.dg/template/typename4.C: Ditto. * g++.dg/template/using14.C: Ditto. * g++.dg/template/using2.C: Ditto. * g++.dg/template/warn1.C: Ditto. * g++.dg/warn/incomplete1.C: Ditto. * g++.dg/warn/noeffect2.C: Ditto. * g++.dg/warn/noeffect4.C: Ditto. * g++.dg/warn/pr8570.C: Ditto. * g++.dg/warn/Wparentheses-13.C: Ditto. * g++.dg/warn/Wparentheses-15.C: Ditto. * g++.dg/warn/Wparentheses-16.C: Ditto. * g++.dg/warn/Wparentheses-17.C: Ditto. * g++.dg/warn/Wparentheses-18.C: Ditto. * g++.dg/warn/Wparentheses-19.C: Ditto. * g++.dg/warn/Wparentheses-20.C: Ditto. * g++.dg/warn/Wparentheses-23.C: Ditto. * g++.dg/warn/Wstrict-aliasing-3.C: Ditto. * g++.old-deja/g++.benjamin/15799.C: Ditto. * g++.old-deja/g++.benjamin/15800-1.C: Ditto. * g++.old-deja/g++.benjamin/16077.C: Ditto. * g++.old-deja/g++.bob/inherit2.C: Ditto. * g++.old-deja/g++.brendan/ambiguity1.C: Ditto. * g++.old-deja/g++.brendan/crash29.C: Ditto. * g++.old-deja/g++.brendan/crash48.C: Ditto. * g++.old-deja/g++.brendan/crash56.C: Ditto. * g++.old-deja/g++.brendan/cvt3.C: Ditto. * g++.old-deja/g++.brendan/overload1.C: Ditto. * g++.old-deja/g++.brendan/overload4.C: Ditto. * g++.old-deja/g++.brendan/overload9.C: Ditto. * g++.old-deja/g++.bugs/900127_01.C: Ditto. * g++.old-deja/g++.bugs/900205_04.C: Ditto. * g++.old-deja/g++.bugs/900330_02.C: Ditto. * g++.old-deja/g++.bugs/900404_03.C: Ditto. * g++.old-deja/g++.bugs/900514_03.C: Ditto. * g++.old-deja/g++.eh/ctor1.C: Ditto. * g++.old-deja/g++.eh/spec6.C: Ditto. * g++.old-deja/g++.ext/overload1.C: Ditto. * g++.old-deja/g++.jason/conversion11.C: Ditto. * g++.old-deja/g++.jason/crash3.C: Ditto. * g++.old-deja/g++.jason/lineno3.C: Ditto. * g++.old-deja/g++.jason/lineno4.C: Ditto. * g++.old-deja/g++.jason/opeq3.C: Ditto. * g++.old-deja/g++.jason/overload16.C: Ditto. * g++.old-deja/g++.jason/overload28.C: Ditto. * g++.old-deja/g++.jason/pmf5.C: Ditto. * g++.old-deja/g++.jason/scoping10.C: Ditto. * g++.old-deja/g++.jason/template30.C: Ditto. * g++.old-deja/g++.jason/temporary2.C: Ditto. * g++.old-deja/g++.jason/tredecl4.C: Ditto. * g++.old-deja/g++.law/arg11.C: Ditto. * g++.old-deja/g++.law/arg1.C: Ditto. * g++.old-deja/g++.law/arm9.C: Ditto. * g++.old-deja/g++.law/ctors11.C: Ditto. * g++.old-deja/g++.law/ctors17.C: Ditto. * g++.old-deja/g++.law/ctors5.C: Ditto. * g++.old-deja/g++.law/ctors9.C: Ditto. * g++.old-deja/g++.law/enum4.C: Ditto. * g++.old-deja/g++.law/missed-error2.C: Ditto. * g++.old-deja/g++.law/operators9.C: Ditto. * g++.old-deja/g++.mike/net22.C: Ditto. * g++.old-deja/g++.mike/net2.C: Ditto. * g++.old-deja/g++.mike/p11110.C: Ditto. * g++.old-deja/g++.mike/p1989.C: Ditto. * g++.old-deja/g++.mike/p2431.C: Ditto. * g++.old-deja/g++.mike/p438.C: Ditto. * g++.old-deja/g++.mike/p807a.C: Ditto. * g++.old-deja/g++.mike/p9068.C: Ditto. * g++.old-deja/g++.niklas/t120.C: Ditto. * g++.old-deja/g++.niklas/t121.C: Ditto. * g++.old-deja/g++.niklas/t128.C: Ditto. * g++.old-deja/g++.ns/overload2.C: Ditto. * g++.old-deja/g++.ns/template13.C: Ditto. * g++.old-deja/g++.ns/using12.C: Ditto. * g++.old-deja/g++.oliva/delete1.C: Ditto. * g++.old-deja/g++.oliva/overload1.C: Ditto. * g++.old-deja/g++.other/crash24.C: Ditto. * g++.old-deja/g++.other/crash25.C: Ditto. * g++.old-deja/g++.other/decl3.C: Ditto. * g++.old-deja/g++.other/expr1.C: Ditto. * g++.old-deja/g++.other/overcnv2.C: Ditto. * g++.old-deja/g++.other/overload11.C: Ditto. * g++.old-deja/g++.other/pmf3.C: Ditto. * g++.old-deja/g++.other/ptrmem7.C: Ditto. * g++.old-deja/g++.other/vaarg3.C: Ditto. * g++.old-deja/g++.other/volatile1.C: Ditto. * g++.old-deja/g++.pt/assign1.C: Ditto. * g++.old-deja/g++.pt/auto_ptr.C: Ditto. * g++.old-deja/g++.pt/const2.C: Ditto. * g++.old-deja/g++.pt/crash10.C: Ditto. * g++.old-deja/g++.pt/crash20.C: Ditto. * g++.old-deja/g++.pt/crash36.C: Ditto. * g++.old-deja/g++.pt/crash38.C: Ditto. * g++.old-deja/g++.pt/derived3.C: Ditto. * g++.old-deja/g++.pt/error2.C: Ditto. * g++.old-deja/g++.pt/explicit34.C: Ditto. * g++.old-deja/g++.pt/explicit70.C: Ditto. * g++.old-deja/g++.pt/friend23.C: Ditto. * g++.old-deja/g++.pt/ptrmem10.C: Ditto. * g++.old-deja/g++.pt/redecl1.C: Ditto. * g++.old-deja/g++.pt/spec35.C: Ditto. * g++.old-deja/g++.pt/t05.C: Ditto. * g++.old-deja/g++.pt/typename3.C: Ditto. * g++.old-deja/g++.pt/typename6.C: Ditto. * g++.old-deja/g++.pt/unify8.C: Ditto. * g++.old-deja/g++.pt/vaarg3.C: Ditto. * g++.old-deja/g++.robertl/eb109.C: Ditto. * g++.old-deja/g++.robertl/eb131.C: Ditto. * g++.old-deja/g++.robertl/eb22.C: Ditto. * g++.old-deja/g++.robertl/eb44.C: Ditto. * g++.old-deja/g++.robertl/eb4.C: Ditto. * g++.old-deja/g++.robertl/eb69.C: Ditto. * g++.dg/parse/constructor1.C: Remove "error" from dg-error, preserving column number. * g++.dg/parse/error10.C: Ditto. * g++.dg/parse/error13.C: Ditto. * g++.dg/parse/error14.C: Ditto. * g++.dg/parse/error15.C: Ditto. * g++.dg/parse/error16.C: Ditto. * g++.dg/parse/error17.C: Ditto. * g++.dg/parse/error18.C: Ditto. * g++.dg/parse/error1.C: Ditto. * g++.dg/parse/error20.C: Ditto. * g++.dg/parse/error21.C: Ditto. * g++.dg/parse/error22.C: Ditto. * g++.dg/parse/error23.C: Ditto. * g++.dg/parse/error24.C: Ditto. * g++.dg/parse/error25.C: Ditto. * g++.dg/parse/error26.C: Ditto. * g++.dg/parse/error27.C: Ditto. * g++.dg/parse/error29.C: Ditto. * g++.dg/parse/error2.C: Ditto. * g++.dg/parse/error30.C: Ditto. * g++.dg/parse/error31.C: Ditto. * g++.dg/parse/error3.C: Ditto. * g++.dg/parse/error4.C: Ditto. * g++.dg/parse/error5.C: Ditto. * g++.dg/parse/error6.C: Ditto. * g++.dg/parse/error7.C: Ditto. * g++.dg/parse/error8.C: Ditto. * g++.dg/parse/error9.C: Ditto. * g++.dg/parse/error-column.C: Ditto. * g++.dg/template/crash80.C: Ditto. * g++.dg/template/friend44.C: Ditto. * g++.dg/warn/pr26785.C: Ditto. * g++.old-deja/g++.brendan/crash16.C: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140476 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/rv6n.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/rv6n.C154
1 files changed, 77 insertions, 77 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/rv6n.C b/gcc/testsuite/g++.dg/cpp0x/rv6n.C
index 9a925ef0c61..040c0f6c3e8 100644
--- a/gcc/testsuite/g++.dg/cpp0x/rv6n.C
+++ b/gcc/testsuite/g++.dg/cpp0x/rv6n.C
@@ -30,12 +30,12 @@ const volatile A cv_source();
// 6 at a time
-one sink_6_123456( A&); // { dg-error "" }
-two sink_6_123456(const A&); // { dg-error "" }
-three sink_6_123456(volatile A&); // { dg-error "" }
-four sink_6_123456(const volatile A&); // { dg-error "" }
-five sink_6_123456( A&&); // { dg-error "" }
-six sink_6_123456(const A&&); // { dg-error "" }
+one sink_6_123456( A&); // { dg-message "candidates" }
+two sink_6_123456(const A&); // { dg-message "note" }
+three sink_6_123456(volatile A&); // { dg-message "note" }
+four sink_6_123456(const volatile A&); // { dg-message "note" }
+five sink_6_123456( A&&); // { dg-message "note" }
+six sink_6_123456(const A&&); // { dg-message "note" }
int test6_123456()
{
@@ -48,12 +48,12 @@ int test6_123456()
return 0;
}
-one sink_6_123457( A&); // { dg-error "" }
-two sink_6_123457(const A&); // { dg-error "" }
-three sink_6_123457(volatile A&); // { dg-error "" }
-four sink_6_123457(const volatile A&); // { dg-error "" }
-five sink_6_123457( A&&); // { dg-error "" }
-seven sink_6_123457(volatile A&&); // { dg-error "" }
+one sink_6_123457( A&); // { dg-message "candidates" }
+two sink_6_123457(const A&); // { dg-message "note" }
+three sink_6_123457(volatile A&); // { dg-message "note" }
+four sink_6_123457(const volatile A&); // { dg-message "note" }
+five sink_6_123457( A&&); // { dg-message "note" }
+seven sink_6_123457(volatile A&&); // { dg-message "note" }
int test6_123457()
{
@@ -65,12 +65,12 @@ int test6_123457()
return 0;
}
-two sink_6_235678(const A&); // { dg-error "" }
-three sink_6_235678(volatile A&); // { dg-error "" }
-five sink_6_235678( A&&); // { dg-error "" }
-six sink_6_235678(const A&&); // { dg-error "" }
-seven sink_6_235678(volatile A&&); // { dg-error "" }
-eight sink_6_235678(const volatile A&&); // { dg-error "" }
+two sink_6_235678(const A&); // { dg-message "candidates" }
+three sink_6_235678(volatile A&); // { dg-message "note" }
+five sink_6_235678( A&&); // { dg-message "note" }
+six sink_6_235678(const A&&); // { dg-message "note" }
+seven sink_6_235678(volatile A&&); // { dg-message "note" }
+eight sink_6_235678(const volatile A&&); // { dg-message "note" }
int test6_235678()
{
@@ -82,12 +82,12 @@ int test6_235678()
return 0;
}
-two sink_6_234678(const A&); // { dg-error "" }
-three sink_6_234678(volatile A&); // { dg-error "" }
-four sink_6_234678(const volatile A&); // { dg-error "" }
-six sink_6_234678(const A&&); // { dg-error "" }
-seven sink_6_234678(volatile A&&); // { dg-error "" }
-eight sink_6_234678(const volatile A&&); // { dg-error "" }
+two sink_6_234678(const A&); // { dg-message "candidates" }
+three sink_6_234678(volatile A&); // { dg-message "note" }
+four sink_6_234678(const volatile A&); // { dg-message "note" }
+six sink_6_234678(const A&&); // { dg-message "note" }
+seven sink_6_234678(volatile A&&); // { dg-message "note" }
+eight sink_6_234678(const volatile A&&); // { dg-message "note" }
int test6_234678()
{
@@ -100,12 +100,12 @@ int test6_234678()
return 0;
}
-two sink_6_234578(const A&); // { dg-error "" }
-three sink_6_234578(volatile A&); // { dg-error "" }
-four sink_6_234578(const volatile A&); // { dg-error "" }
-five sink_6_234578( A&&); // { dg-error "" }
-seven sink_6_234578(volatile A&&); // { dg-error "" }
-eight sink_6_234578(const volatile A&&); // { dg-error "" }
+two sink_6_234578(const A&); // { dg-message "candidates" }
+three sink_6_234578(volatile A&); // { dg-message "note" }
+four sink_6_234578(const volatile A&); // { dg-message "note" }
+five sink_6_234578( A&&); // { dg-message "note" }
+seven sink_6_234578(volatile A&&); // { dg-message "note" }
+eight sink_6_234578(const volatile A&&); // { dg-message "note" }
int test6_234578()
{
@@ -117,12 +117,12 @@ int test6_234578()
return 0;
}
-two sink_6_234568(const A&); // { dg-error "" }
-three sink_6_234568(volatile A&); // { dg-error "" }
-four sink_6_234568(const volatile A&); // { dg-error "" }
-five sink_6_234568( A&&); // { dg-error "" }
-six sink_6_234568(const A&&); // { dg-error "" }
-eight sink_6_234568(const volatile A&&); // { dg-error "" }
+two sink_6_234568(const A&); // { dg-message "candidates" }
+three sink_6_234568(volatile A&); // { dg-message "note" }
+four sink_6_234568(const volatile A&); // { dg-message "note" }
+five sink_6_234568( A&&); // { dg-message "note" }
+six sink_6_234568(const A&&); // { dg-message "note" }
+eight sink_6_234568(const volatile A&&); // { dg-message "note" }
int test6_234568()
{
@@ -134,12 +134,12 @@ int test6_234568()
return 0;
}
-two sink_6_234567(const A&); // { dg-error "" }
-three sink_6_234567(volatile A&); // { dg-error "" }
-four sink_6_234567(const volatile A&); // { dg-error "" }
-five sink_6_234567( A&&); // { dg-error "" }
-six sink_6_234567(const A&&); // { dg-error "" }
-seven sink_6_234567(volatile A&&); // { dg-error "" }
+two sink_6_234567(const A&); // { dg-message "candidates" }
+three sink_6_234567(volatile A&); // { dg-message "note" }
+four sink_6_234567(const volatile A&); // { dg-message "note" }
+five sink_6_234567( A&&); // { dg-message "note" }
+six sink_6_234567(const A&&); // { dg-message "note" }
+seven sink_6_234567(volatile A&&); // { dg-message "note" }
int test6_234567()
{
@@ -155,9 +155,9 @@ int test6_234567()
one sink_6_134678( A&);
three sink_6_134678(volatile A&);
four sink_6_134678(const volatile A&);
-six sink_6_134678(const A&&); // { dg-error "" }
-seven sink_6_134678(volatile A&&); // { dg-error "" }
-eight sink_6_134678(const volatile A&&); // { dg-error "" }
+six sink_6_134678(const A&&); // { dg-message "candidates" }
+seven sink_6_134678(volatile A&&); // { dg-message "note" }
+eight sink_6_134678(const volatile A&&); // { dg-message "note" }
int test6_134678()
{
@@ -170,11 +170,11 @@ int test6_134678()
}
one sink_6_124678( A&);
-two sink_6_124678(const A&); // { dg-error "" }
+two sink_6_124678(const A&); // { dg-message "candidates" }
four sink_6_124678(const volatile A&);
-six sink_6_124678(const A&&); // { dg-error "" }
-seven sink_6_124678(volatile A&&); // { dg-error "" }
-eight sink_6_124678(const volatile A&&); // { dg-error "" }
+six sink_6_124678(const A&&); // { dg-message "note" }
+seven sink_6_124678(volatile A&&); // { dg-message "note" }
+eight sink_6_124678(const volatile A&&); // { dg-message "note" }
int test6_124678()
{
@@ -187,11 +187,11 @@ int test6_124678()
}
one sink_6_123678( A&);
-two sink_6_123678(const A&); // { dg-error "" }
+two sink_6_123678(const A&); // { dg-message "candidates" }
three sink_6_123678(volatile A&);
-six sink_6_123678(const A&&); // { dg-error "" }
-seven sink_6_123678(volatile A&&); // { dg-error "" }
-eight sink_6_123678(const volatile A&&); // { dg-error "" }
+six sink_6_123678(const A&&); // { dg-message "note" }
+seven sink_6_123678(volatile A&&); // { dg-message "note" }
+eight sink_6_123678(const volatile A&&); // { dg-message "note" }
int test6_123678()
{
@@ -203,12 +203,12 @@ int test6_123678()
return 0;
}
-one sink_6_123567( A&); // { dg-error "" }
-two sink_6_123567(const A&); // { dg-error "" }
-three sink_6_123567(volatile A&); // { dg-error "" }
-five sink_6_123567( A&&); // { dg-error "" }
-six sink_6_123567(const A&&); // { dg-error "" }
-seven sink_6_123567(volatile A&&); // { dg-error "" }
+one sink_6_123567( A&); // { dg-message "candidates" }
+two sink_6_123567(const A&); // { dg-message "note" }
+three sink_6_123567(volatile A&); // { dg-message "note" }
+five sink_6_123567( A&&); // { dg-message "note" }
+six sink_6_123567(const A&&); // { dg-message "note" }
+seven sink_6_123567(volatile A&&); // { dg-message "note" }
int test6_123567()
{
@@ -221,12 +221,12 @@ int test6_123567()
return 0;
}
-one sink_6_123467( A&); // { dg-error "" }
-two sink_6_123467(const A&); // { dg-error "" }
-three sink_6_123467(volatile A&); // { dg-error "" }
-four sink_6_123467(const volatile A&); // { dg-error "" }
-six sink_6_123467(const A&&); // { dg-error "" }
-seven sink_6_123467(volatile A&&); // { dg-error "" }
+one sink_6_123467( A&); // { dg-message "candidates" }
+two sink_6_123467(const A&); // { dg-message "note" }
+three sink_6_123467(volatile A&); // { dg-message "note" }
+four sink_6_123467(const volatile A&); // { dg-message "note" }
+six sink_6_123467(const A&&); // { dg-message "note" }
+seven sink_6_123467(volatile A&&); // { dg-message "note" }
int test6_123467()
{
@@ -239,12 +239,12 @@ int test6_123467()
return 0;
}
-one sink_6_124567( A&); // { dg-error "" }
-two sink_6_124567(const A&); // { dg-error "" }
-four sink_6_124567(const volatile A&); // { dg-error "" }
-five sink_6_124567( A&&); // { dg-error "" }
-six sink_6_124567(const A&&); // { dg-error "" }
-seven sink_6_124567(volatile A&&); // { dg-error "" }
+one sink_6_124567( A&); // { dg-message "candidates" }
+two sink_6_124567(const A&); // { dg-message "note" }
+four sink_6_124567(const volatile A&); // { dg-message "note" }
+five sink_6_124567( A&&); // { dg-message "note" }
+six sink_6_124567(const A&&); // { dg-message "note" }
+seven sink_6_124567(volatile A&&); // { dg-message "note" }
int test6_124567()
{
@@ -256,12 +256,12 @@ int test6_124567()
return 0;
}
-one sink_6_134567( A&); // { dg-error "" }
-three sink_6_134567(volatile A&); // { dg-error "" }
-four sink_6_134567(const volatile A&); // { dg-error "" }
-five sink_6_134567( A&&); // { dg-error "" }
-six sink_6_134567(const A&&); // { dg-error "" }
-seven sink_6_134567(volatile A&&); // { dg-error "" }
+one sink_6_134567( A&); // { dg-message "candidates" }
+three sink_6_134567(volatile A&); // { dg-message "note" }
+four sink_6_134567(const volatile A&); // { dg-message "note" }
+five sink_6_134567( A&&); // { dg-message "note" }
+six sink_6_134567(const A&&); // { dg-message "note" }
+seven sink_6_134567(volatile A&&); // { dg-message "note" }
int test6_134567()
{
OpenPOWER on IntegriCloud