]> gcc.gnu.org Git - gcc.git/blame - 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
CommitLineData
5a6bdb0d 1// PR c++/51313
4b2e63de 2// { dg-do compile { target c++11 } }
5a6bdb0d
PC
3
4class ostream;
5
6extern "C" {
7 extern int isdigit (int);
8}
9
10ostream&
11operator<<(ostream&, const unsigned char*);
12
13extern ostream cout;
14
15int main()
16{
5916cfd0 17 cout << isdigit(0); // { dg-error "invalid conversion" }
5a6bdb0d 18}
This page took 5.778434 seconds and 5 git commands to generate.