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-ctor11.C
blob
4fc67a4a56a5be6d2760344458ed23a3ef9fe594
1
// { dg-do compile { target c++11 } }
2
// { dg-options -fno-new-inheriting-ctors }
3
4
struct A
5
{
6
A(int, ...); // { dg-message "declared here" }
7
};
8
9
struct B: A
10
{
11
using A::A; // { dg-warning "ellipsis" }
12
};
13
14
B b1(42);
15
B b2(42, 1.0); // { dg-error "no match" }