repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
template7.C
blob
876096b7490ea47a9f67a7f4539179ec1bf934e1
1
// { dg-do assemble }
2
3
4
// Based on bug report by Eric NICOLAS <nicolas@bnp-eng.remcomp.com>
5
6
namespace foo {
7
template<class F> struct bar {};
8
}
9
10
void baz() {
11
foo::bar(); // { dg-error "" } template used as expression
12
}