]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/lto/pr101396_1.C
ipa-devirt: check precision mismatch of enum values [PR101396]
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / lto / pr101396_1.C
1 enum A : __UINT64_TYPE__ { // { dg-lto-note "6: an enum with different value name is defined in another translation unit" }
2 a, // { dg-lto-note "3: mismatching definition" }
3 b,
4 c
5 };
6
7 int f(enum A x)
8 {
9 return (int) x;
10 }