☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
save-expr-1.c
☽
☼
gcc/testsuite/c-c++-common/ubsan/save-expr-1.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-fsanitize=shift -Wall -Werror -O -fno-sanitize-recover=shift" } */
3
4
static int x;
5
int
6
main (void)
7
{
8
int o = 1;
9
int y = x << o;
10
return y;
11
}