summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/pr40818_0.C
blob: 8430f9cd015aabb5dad508bcb728db14c5616a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-lto-do assemble }
// Test case from Eugene A. Strizhov.

extern int i;
struct S { S (); };

S::S ()
{
    enum { fifty = 0x50 };
    if (i > fifty);
}