summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr51313.C
blob: eb304ba44808cdba9570aef9ff85a916bc9254ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PR c++/51313
// { dg-do compile { target c++11 } }

class ostream;

extern "C" {
  extern int isdigit (int);
}

ostream&
operator<<(ostream&, const unsigned char*);

extern ostream cout;

int main()
{
  cout << isdigit(0);
}