Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
regress
/
error-recovery1.C
blob: cdf99408473e935131547e23cbec6c62bc9647b8 [
file
] [
log
] [
blame
]
// PR c++/48212
// { dg-options -std=c++0x }
template
<
bool
>
void
foo
()
{
const
bool
b
=;
// { dg-error "" }
foo
<
b
>
();
// { dg-error "constant expression" "const expr" }
};
// { dg-error "no match" "no match" { target *-*-* } 8 }