]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr51313.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr51313.C
1 // PR c++/51313
2 // { dg-do compile { target c++11 } }
3
4 class ostream;
5
6 extern "C" {
7 extern int isdigit (int);
8 }
9
10 ostream&
11 operator<<(ostream&, const unsigned char*);
12
13 extern ostream cout;
14
15 int main()
16 {
17 cout << isdigit(0); // { dg-error "invalid conversion" }
18 }
This page took 0.040919 seconds and 5 git commands to generate.