comparison gcc/testsuite/g++.dg/template/anon1.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
1 struct x { 1 struct x {
2 int foo () {} 2 int foo () { return 0; }
3 }; 3 };
4 4
5 template <class T> 5 template <class T>
6 struct vector { 6 struct vector {
7 T& bar () {} 7 T& bar () { static T a; return a; }
8 }; 8 };
9 9
10 template <class T> 10 template <class T>
11 struct y { 11 struct y {
12 typedef struct { 12 typedef struct {