1 // { dg-do assemble } 2 // Bug: g++ fails to grok functional casts in all situations. 3 4 class A { 5 public: 6 typedef int B; foo()7 static B foo() { return B(1); } // { dg-bogus "" } 8 }; 9