summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8620.C
blob: 8064c82996f73b8bb02cea926577bd3d6cdbfed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// prms-id: 8620

struct S {
  long l;
};

typedef unsigned long l;

void f() {
  S* p;
  if (p->l < 0)
    return;
}