Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-__func__3.C
blob365a4e00c5f694a950354aecfd5b8c58949885c2
1 // PR c++/105809
2 // { dg-do compile { target c++11 } }
4 template<typename ss> void hh() {  ss t; }
6 template<int>
7 int f(void)
9     constexpr char const* cc = __func__;
10     struct j{  char const* kk=cc; };
11     hh<j>();
12     return 0;
15 int t = f<1>();