]> granicus.if.org Git - clang/commitdiff
ASTMerge: specify arch for GCCAsmStmt test explicitly to calm non-x86 buildbots
authorAleksei Sidorin <a.sidorin@samsung.com>
Wed, 28 Sep 2016 10:57:36 +0000 (10:57 +0000)
committerAleksei Sidorin <a.sidorin@samsung.com>
Wed, 28 Sep 2016 10:57:36 +0000 (10:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282576 91177308-0d34-0410-b5e6-96231b3b80d8

test/ASTMerge/Inputs/exprs3.cpp

index 1fb667b4577b00afd84aa5bbcaabc26552efb260..7ed8e338452f7483a1a8ee146cc3325903c6e015 100644 (file)
@@ -104,17 +104,6 @@ void testOffsetOf() {
 }
 
 
-unsigned char asmFunc(unsigned char a, unsigned char b) {
-  unsigned int la = a;
-  unsigned int lb = b;
-  unsigned int bigres;
-  unsigned char res;
-  __asm__ ("0:\n1:\n" : [bigres] "=la"(bigres) : [la] "0"(la), [lb] "c"(lb) :
-                        "edx", "cc");
-  res = bigres;
-  return res;
-}
-
 int testDefaultArg(int a = 2*2) {
   return a;
 }