Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/ubsan/pr88215.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* PR c++/88215 */ /* { dg-do compile } */ /* { dg-options "-fsanitize=integer-divide-by-zero" } */ int foo (void) { int a = 2, __attribute__ ((__unused__)) b = 1; int f = a / b; return f; }