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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ctor2.C
blob
a8be91ddbb917f12fb01650045a01b24112115ef
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 "constructor|qualified name" }
12
{
13
}