Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/ubsan/pr81125.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
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; }