Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec6.C
blob: fd41d7417c2c6deb9e5a15c5cc1a36e12307be5e [
file
] [
log
] [
blame
]
// { dg-additional-options "-Wno-return-type" }
template
<
bool
,
int
>
struct
X
{};
template
<
bool
C
>
struct
X
<
C
,
1
>
{
typedef
double
*
type
;
type foo
()
const
;
};
template
<
bool
C
>
typename
X
<
C
,
1
>::
type
X
<
C
,
1
>::
foo
()
const
{}