repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-__func__3.C
blob
365a4e00c5f694a950354aecfd5b8c58949885c2
1
// PR c++/105809
2
// { dg-do compile { target c++11 } }
3
4
template<typename ss> void hh() { ss t; }
5
6
template<int>
7
int f(void)
8
{
9
constexpr char const* cc = __func__;
10
struct j{ char const* kk=cc; };
11
hh<j>();
12
return 0;
13
}
14
15
int t = f<1>();