Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg4.C
blob: 30711c22c0b6a38e751225fb264390fd626bd153 [
file
] [
log
] [
blame
]
// PR c++/14763
struct
A
{
int
get
()
const
{
return
0
;
}
static
A
*
foo
();
};
template
<bool>
struct
S
{
S
(
unsigned
int
=
A
::
foo
()->
get
())
;
};
void
foo
()
throw
()
{
S
<false>
f
;
}