Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/template/crash107.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // PR c++/44625 | 1 // PR c++/44625 |
2 // { dg-do compile } | 2 // { dg-do compile } |
3 // { dg-options "" } | 3 // { dg-options "" } |
4 // { dg-additional-options "-Wno-return-type" } | |
4 | 5 |
5 template<typename FP_> struct Vec { // { dg-message "note" } | 6 template<typename FP_> struct Vec { // { dg-message "note" } |
6 Vec& operator^=(Vec& rhs) { | 7 Vec& operator^=(Vec& rhs) { |
7 union { | 8 union { |
8 struct {FP_ x,y,z;}; | 9 struct {FP_ x,y,z;}; |