LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / ubsan / pr79757-1.c
blobca074bcff46565403f2e0cca3c402e031469343a
1 /* PR sanitizer/79757 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target int128 } */
4 /* { dg-options "-fsanitize=undefined" } */
6 unsigned __int128 x, y;
8 void
9 fn1 (void)
11 int a (z)
12 unsigned long long z = x / y; /* { dg-error "parameter 'z' is initialized" } */
17 void
18 fn2 (void)
20 int a (z)
21 unsigned long long z = x >> y; /* { dg-error "parameter 'z' is initialized" } */