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
c++: delayed parse DMI [PR96645]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_constructible3.C
blob
305751d28e2a79906ef6937476e8909b7273dc08
1
// PR c++/88368
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
6
struct B {
7
int I = 1;
8
B() = default;
9
};
10
11
static constexpr bool v = __is_constructible (B); // { dg-error "member initializer" }
12
13
};
14
15
void print() {
16
A::B BB;
17
}