PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / conv15.C
blob2f61c11356448a562bade2500e9ac9676e7a8f89
1 // PR c++/86219
3 template <int a> struct t;
4 template <int a>
5 void f ()
7    const int b = "";            // { dg-error "conversion" }
8    t<b>::c;                     // { dg-error "constant" }
9    // { dg-prune-output "template argument 1 is invalid" }