☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/cast1.C
code
plain
raw
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;
7
static B foo() { return B(1); } // { dg-bogus "" }
8
};