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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor11a.C
blob
61b251eb0ba1531a4fa1ba6b47e78b6d0a1283d5
1
// { dg-do compile { target c++11 } }
2
// { dg-options -fnew-inheriting-ctors }
3
4
struct A
5
{
6
A(int, ...);
7
};
8
9
struct B: A
10
{
11
using A::A;
12
};
13
14
B b1(42);
15
B b2(42, 1.0); // { dg-bogus "ellipsis" "" { xfail *-*-* } }