// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s

struct X {
  X(int v);

  int value;
};

X::X(int v) {
  // CHECK_TEMPORARILY_DISABLED: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
  // TEMPORARY CHECK: X
  value = v;
}


// RUN: %clang -march=x86_64-apple-darwin10 -emit-llvm -g -S %s -o - | FileCheck %s

struct X {
  X(int v);

  int value;
};

X::X(int v) {
  // CHECK: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
  value = v;
}


--- 
+++ 
@@ -1,4 +1,4 @@
-// RUN: %clang -march=x86_64-apple-darwin10 -emit-llvm -g -S %s -o - | FileCheck %s
+// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
 
 struct X {
   X(int v);
@@ -7,7 +7,8 @@
 };
 
 X::X(int v) {
-  // CHECK: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
+  // CHECK_TEMPORARILY_DISABLED: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
+  // TEMPORARY CHECK: X
   value = v;
 }
 
Revert r110936; this fails on clang-i686-darwin10 too.


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