Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ubsan/pr81125.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// PR sanitizer/81125 // { dg-do compile } // { dg-options "-fsanitize=undefined" } #ifdef __SIZEOF_INT128__ typedef __int128 T; #else typedef long long int T; #endif struct A { A (long); T a; }; A::A (long c) { long b = a % c; }