OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / expr2.C
1 // { dg-do assemble  }
2
3 template <int I>
4 struct S {};
5
6 template <int J>
7 void foo(S<J + 2>);
8
9 void bar()
10 {
11   foo(S<3>()); // { dg-error "" } no way to deduce J from this.
12 }