Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.3.1
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template7.C
blob: 876096b7490ea47a9f67a7f4539179ec1bf934e1 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Based on bug report by Eric NICOLAS <nicolas@bnp-eng.remcomp.com>
namespace
foo
{
template
<
class
F
>
struct
bar
{};
}
void
baz
()
{
foo
::
bar
();
// { dg-error "" } template used as expression
}