summaryrefslogtreecommitdiff
path: root/test/CFrontend/2002-01-23-LoadQISIReloadFailure.c
blob: 258d3cc0e3dc485d6e02dff3c1aa2d0416b97489 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

/* Regression test.  Just compile .c -> .ll to test */
int foo(void) {
  unsigned char *pp;
  unsigned w_cnt;

  w_cnt += *pp;
  
  return w_cnt;
}