Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/pr86696.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 /* PR tree-optimization/86696 - ICE in handle_char_store at |
2 gcc/tree-ssa-strlen.c | |
3 { dg-do compile } | |
4 { dg-options "-O2 -Wall -std=c++11" } */ | |
5 | |
6 typedef char a; | |
7 template <typename b> struct c { | |
8 int d; | |
9 b e; | |
10 }; | |
11 struct f; | |
12 class g { | |
13 public: | |
14 void h(c<f>); | |
15 }; | |
16 enum i {}; | |
17 enum j : a { k, l }; | |
18 struct f { | |
19 i m; | |
20 a n; | |
21 a o; | |
22 a p; | |
23 j family; | |
24 }; | |
25 void fn1() { | |
26 i format{}; | |
27 f info{format, a(), 0, 4, l}; | |
28 g dest; | |
29 dest.h({format, info}); | |
30 } |