6 template <int> void foo (...); // { dg-message "foo" }
7 template <int> void bar (int, ...); // { dg-message "bar" }
8 void baz (...); // { dg-message "baz" }
11 template <int> void foo (...); // { dg-message "note" }
12 template <int> void bar (int, ...); // { dg-message "note" }
13 void baz (...); // { dg-message "note" }
18 foo <0> (0); // { dg-error "is ambiguous" }
19 // { dg-message "candidate" "candidate note" { target *-*-* } 18 }
20 bar <1> (0, 1); // { dg-error "is ambiguous" }
21 // { dg-message "candidate" "candidate note" { target *-*-* } 20 }
22 baz (0); // { dg-error "is ambiguous" }
23 // { dg-message "candidate" "candidate note" { target *-*-* } 22 }