Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / cpp0x / vt-37737-2.C
blob2ff7e5b0b51db5c5342f21e2305c03eb3579bb4e
1 // { dg-options "-std=c++0x" }
3 template<class U, class... T>
4 void f()                        // { dg-message "note" }
6   f<T...>(); // { dg-error "no matching" }
7   // { dg-message "candidate" "candidate note" { target *-*-* } 6 }
10 template<>
11 void f() { } // { dg-error "template-id" }
13 int main()
15   f<char>();