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
Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ctor2.C
blob
46039ace81724c419a256b874f80a1af1808dcdd
1
// { dg-do assemble }
2
// Test for use of template parms in constructor name.
3
// Submitted by Jason Merrill <jason@cygnus.com>
4
5
template <class T>
6
struct A {
7
A<T>();
8
};
9
10
template <class T>
11
A<T>::A<T>() // { dg-error "invalid use of constructor|qualified name" }
12
{
13
}