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: fix ICE when forming composite type for two structures / unions [PR117548]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor13.C
blob
bd021e6e6d5c86253653c857a3833bee1cefc275
1
// { dg-do compile { target c++11 } }
2
3
struct A
4
{
5
int i;
6
template <class T> A(T t);
7
};
8
9
struct C
10
{
11
C() = delete; // { dg-message "declared here" }
12
};
13
14
struct B: A, C
15
{
16
using A::A; // { dg-error "C::C" }
17
};
18
19
int main()
20
{
21
B b(24); // { dg-error "B::B" }
22
}