// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null


struct foo { int X; };
struct bar { int Y; };

extern int Func(struct foo*) __asm__("Func64");
extern int Func64(struct bar*);

int Func(struct foo *F) {
  return 1;
}

int Func64(struct bar* B) {
  return 0;
}


int test() {
  Func(0);    /* should be renamed to call Func64 */
  Func64(0);
}

// RUN: %clang_cc1 -emit-llvm %s -triple x86_64-apple-darwin -o /dev/null


struct foo { int X; };
struct bar { int Y; };

extern int Func(struct foo*) __asm__("Func64");
extern int Func64(struct bar*);

int Func(struct foo *F) {
  return 1;
}

int Func64(struct bar* B) {
  return 0;
}


int test() {
  Func(0);    /* should be renamed to call Func64 */
  Func64(0);
}

Make this darwin only for now while investigating to clear up x86_64 Release+Asserts linux tests.
Make this darwin only for now while investigating to clear up x86_64
Release+Asserts linux tests.


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@136223 91177308-0d34-0410-b5e6-96231b3b80d8
