]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/nullptr34.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr34.C
1 // PR c++/67216
2 // { dg-do compile { target c++11 } }
3
4 struct s {
5 s( long ) {}
6 };
7
8 struct t {
9 t( void * ) {}
10 };
11
12 void foo(s) {}
13 void foo(t) {}
14
15 int main() {
16 foo(false);
17 }
This page took 0.035205 seconds and 5 git commands to generate.