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-ptrmem3.C
blob
c5e2101c0e57cc16ca12160beb579fa022c8132b
1
// PR c++/62129
2
// { dg-do compile { target c++11 } }
3
4
class Evaluator
5
{
6
int MakeChangelist ();
7
typedef int (Evaluator::*fac_t)();
8
struct CreatorEntry
9
{
10
const char *type;
11
fac_t factory;
12
};
13
static constexpr CreatorEntry kCreators[] = { "", &Evaluator::MakeChangelist };
14
};
15
16
constexpr Evaluator::CreatorEntry Evaluator::kCreators[];