Sign in
llvm
/
llvm-archive
/
8a078a762a98ba34ad83dc2c15e5ff2b86792d78
/
.
/
llvm-gcc-4.2
/
llvmgcc42-2326.9
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg4.C
blob: 293538adbd15b5fe069d9c89f3f3eafb1409ca57 [
file
] [
log
] [
blame
]
// PR c++/14763
struct
A
{
int
get
()
const
{}
static
A
*
foo
();
};
template
<bool>
struct
S
{
S
(
unsigned
int
=
A
::
foo
()->
get
())
;
};
void
foo
()
throw
()
{
S
<false>
f
;
}