Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
template
/
error36.C
blob: b16b976e3822420057f53bf44364552a3854d961 [
file
] [
log
] [
blame
]
// PR c++/37719.C
template
<
typename
T
>
class
foo
{
void
bar
()
throw
(
int
);
// { dg-error "throw \\(int\\)" }
};
template
<>
void
foo
<int>
::
bar
()
throw
(
float
)
{}
// { dg-error "throw \\(float\\)" }