aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/cast1.C
blob: 4e987eafece142a0a42fcbd35c5b294426a91917 (plain)
1
2
3
4
5
6
7
8
// Bug: g++ fails to grok functional casts in all situations.
// Build don't link:

class A  {
public:
  typedef int B;
  static B foo() { return B(1); } // gets bogus error - 
};