* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-template5.C
blobaa80658036df67c9aaf11ccd93ae01211f63de94
1 // PR c++/54946
2 // { dg-do compile { target c++11 } }
4 template<const char*s>    static void testfunc();
5 constexpr struct testtype { const char* str; } test = { "abc"} ;
6 void (*functionpointer)() = testfunc<(const char*) test.str>; // { dg-error "" }