// RUN: %llvmgcc -S -O2 -g %s -o - | llc -O2 -o %t.s
// RUN: grep  "# DW_TAG_formal_parameter" %t.s | count 4
// Radar 8122864
// XFAIL: powerpc
static int foo(int a, int j) {
  int k = 0;
  if (a)
    k = a + j;
  else
    k = j;
  return k;
}
int bar(int o, int p) {

  return foo(o, p);
}

// RUN: %llvmgcc -S -O2 -g %s -o - | llc -O2 -o %t.s
// RUN: grep  "# DW_TAG_formal_parameter" %t.s | count 4
// Radar 8122864
// XTARGET: x86,darwin
static int foo(int a, int j) {
  int k = 0;
  if (a)
    k = a + j;
  else
    k = j;
  return k;
}
int bar(int o, int p) {

  return foo(o, p);
}

Make this test darwin specific.
Make this test darwin specific.


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@107025 91177308-0d34-0410-b5e6-96231b3b80d8
