2016-12-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr37174.cc
blob78cb12f63ed3c4a3fe3f70f1ec220a88fd07398a
1 /* { dg-do compile } */
3 int* getFoo();
4 struct Bar {
5 Bar();
6 int* foo1;
7 int* foo2;
8 int* table[4][4][4];
9 };
10 Bar::Bar() {
11 foo1 = getFoo();
12 foo2 = getFoo();
13 for (int a = 0; a < 4; ++a) {
14 for (int b = 0; b < 4; ++b) {
15 for (int c = 0; c < 4; ++c) {
16 table[a][b][c] = foo1;