Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / ubsan / pr80349.C
blobf705b92caff2b0801a2babe5a741b2c62b89e085
1 // PR sanitizer/80349
2 // { dg-do compile }
3 // { dg-options "-fsanitize=undefined" }
5 extern const long long int v;
7 void
8 foo ()
10   (int)((v & 50 | 051UL) << 0) << 0;