blob: 4e987eafece142a0a42fcbd35c5b294426a91917 [file] [log] [blame]
// 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 -
};