Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
cast1.C
blob: 2bc16f35231ce0428ff10d77318616f78fce4de2 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ fails to grok functional casts in all situations.
class
A
{
public
:
typedef
int
B
;
static
B foo
()
{
return
B
(
1
);
}
// { dg-bogus "" }
};