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
/
niklas03.C
blob
7ecf0ede5f864c3294a73ecc3a6b0a628cbb6c04
1
// { dg-do assemble }
2
3
template <class A> struct X {
4
A operator[] (int);
5
};
6
7
template <class A> A X<A>::operator[] (int i)
8
{
9
return A(); // { dg-bogus "" }
10
}
11
12
X<int> x;