* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-70204a.C
blob5ac551927e1d1fa546381ba2dc0b2cc4e62cce5c
1 // PR c++/70204
2 // { dg-do compile { target c++11 } }
4 int a;
6 template < int N, int I >
7 void fn1 ()
9   const int x = I * a, y = x;
10   fn1 < y, I > (); // { dg-error "constant|no match" }
13 int
14 main ()
16   fn1 < 0, 0 > ();
17   return 0;