* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr65075.C
blob7d953ff64696613e99abfcda5211bf6404bfe06a
1 // PR c++/65075
2 // { dg-do compile { target c++11 } }
4 typedef void (*E) ();
5 template <class T>
6 constexpr E
7 bar (bool a)
9   return a ? []() {} : []() {};
12 void
13 foo ()
15   (bar<int> (false)) ();
16   (bar<int> (true)) ();