Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template7.C
blob: 3c857355a502d065eec7ccdabbc52a44ac60a745 [
file
] [
log
] [
blame
]
// Build don't link:
// crash test - XFAIL *-*-*
// Based on bug report by Eric NICOLAS <nicolas@bnp-eng.remcomp.com>
namespace
foo
{
template
<
class
F
>
struct
bar
{};
}
void
baz
()
{
foo
::
bar
();
// ERROR - template used as expression
}