PR tree-optimization/113673: Avoid load merging when potentially trapping.
[official-gcc.git] / gcc / testsuite / g++.dg / DRs / dr2530.C
blob90676874f9388759048aabe6bc37758360d40a71
1 // DR 2530 - Multiple definitions of enumerators
2 // { dg-do compile }
4 enum E { e, e };                // { dg-error "redefinition of 'e'" }
5 enum F { f = 0, f = 0 };        // { dg-error "redefinition of 'f'" }