diff options
author | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-24 17:49:25 +0000 |
---|---|---|
committer | (no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-24 17:49:25 +0000 |
commit | 99b8e7f1cc78f3ddabb89dfb5d6cb7cac3aff14f (patch) | |
tree | e4720d039c042b7cd89f8a75f256c697ae8b5493 /gcc/testsuite/g++.dg/template/conv7.C | |
parent | 964944fc854c1dd723f7b8150d0deac634aabdbb (diff) |
This commit was manufactured by cvs2svn to create taghammer-3_3-merge-20030624
'hammer-3_3-merge-20030624'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/hammer-3_3-merge-20030624@68434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg/template/conv7.C')
-rw-r--r-- | gcc/testsuite/g++.dg/template/conv7.C | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/template/conv7.C b/gcc/testsuite/g++.dg/template/conv7.C new file mode 100644 index 00000000000..86758b3623d --- /dev/null +++ b/gcc/testsuite/g++.dg/template/conv7.C @@ -0,0 +1,12 @@ +// { dg-options "-fabi-version=0" } + +template <typename T> struct S { + struct I{}; + operator I* (); +}; + +template <typename T> struct S2 : S<T> { + operator typename S<T>::I* (); +}; + +template struct S2<int>; |