blob: 22ee4c8b16ae6f7a4ddae79eff3e8761f7800421 [file] [log] [blame]
// { dg-do assemble }
template <int I>
struct S {};
template <int J>
void foo(S<J + 2>);
void bar()
{
foo(S<3>()); // { dg-error "" } no way to deduce J from this.
}