repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ptrmem2.C
blob
86859aa12bcd0950a1e5a98c86893539aff693b9
1
// PR c++/61661
2
// { dg-do compile { target c++11 } }
3
4
struct Outer {
5
6
void Bar();
7
8
struct Foo {
9
void (Outer::*ptr)() ;
10
};
11
12
static constexpr Foo foo = { &Outer::Bar };
13
};