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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor12.C
blob
cc23d4b19e9d4147ee5efef916f6c35679c64510
1
// { dg-do run { target c++11 } }
2
3
struct A
4
{
5
int i;
6
template <class T>
7
A(T t) noexcept : i(t) {}
8
};
9
10
struct C
11
{
12
C() { throw 42; }
13
};
14
15
struct B: A, C
16
{
17
using A::A;
18
};
19
20
int main()
21
{
22
try { B b(24); }
23
catch (int) { return 0; }
24
__builtin_abort();
25
}