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++.pt
/
explicit34.C
blob
2841ff0525c47be2e272bcdf09b9b5f138c23f31
1
// { dg-do assemble }
2
// GROUPS passed templates
3
template <class T>
4
void foo(T t);
5
6
template <>
7
void foo(int) {}; // { dg-error "" } previously defined here.
8
9
template <>
10
void foo<int>(int) {} // { dg-error "" } duplicate specialization.