Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/template/conv1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
14 template <class U> operator Second<U>(); | 14 template <class U> operator Second<U>(); |
15 template <class U> operator First<U>(); | 15 template <class U> operator First<U>(); |
16 }; | 16 }; |
17 | 17 |
18 template <class T> int First<T>::Foo () | 18 template <class T> int First<T>::Foo () |
19 {} // This is here to make sure we didn't smash Foo's decl in the | 19 { return 0; } // This is here to make sure we didn't smash Foo's decl in the |
20 // method vector | 20 // method vector |
21 | 21 |
22 struct B { }; | 22 struct B { }; |
23 struct D { }; | 23 struct D { }; |
24 | 24 |
25 void Foo () | 25 void Foo () |