From 9fecde6a33e3cf51e7b122ab72ec0a499a6a765b Mon Sep 17 00:00:00 2001 From: Aleksei Sidorin Date: Wed, 28 Sep 2016 10:57:36 +0000 Subject: [PATCH] ASTMerge: specify arch for GCCAsmStmt test explicitly to calm non-x86 buildbots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282576 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ASTMerge/Inputs/exprs3.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/ASTMerge/Inputs/exprs3.cpp b/test/ASTMerge/Inputs/exprs3.cpp index 1fb667b457..7ed8e33845 100644 --- a/test/ASTMerge/Inputs/exprs3.cpp +++ b/test/ASTMerge/Inputs/exprs3.cpp @@ -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; } -- 2.40.0