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-ice19.C
blob
f62a0d995c2cd54b1ac01a56bd4dc6647e4f6f28
1
// PR c++/81054
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
volatile int i;
7
constexpr A() : i() {}
8
};
9
10
struct B
11
{
12
static constexpr A a {}; // { dg-error "not literal|in-class initialization" }
13
};