Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/ubsan/pr79589.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 // PR sanitizer/79589 | 1 // PR sanitizer/79589 |
2 // { dg-do compile } | 2 // { dg-do compile { target c++17 } } |
3 // { dg-options "-fsanitize=undefined -std=c++17" } | 3 // { dg-options "-fsanitize=undefined" } |
4 | 4 |
5 struct A { char a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r; } a[64]; | 5 struct A { char a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r; } a[64]; |
6 | 6 |
7 void | 7 void |
8 foo () | 8 foo () |