r179237 - get rid of stdio.h include in testcase

Adrian Prantl aprantl at apple.com
Wed Apr 10 16:09:00 PDT 2013


Author: adrian
Date: Wed Apr 10 18:09:00 2013
New Revision: 179237

URL: http://llvm.org/viewvc/llvm-project?rev=179237&view=rev
Log:
get rid of stdio.h include in testcase

Modified:
    cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c

Modified: cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c?rev=179237&r1=179236&r2=179237&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c (original)
+++ cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c Wed Apr 10 18:09:00 2013
@@ -4,7 +4,7 @@
 
 // This checks that the frontend will accept inline asm operand modifiers
 
-#include "stdio.h"
+int printf(const char*, ...);
 
   // CHECK: %{{[0-9]+}} = call i32 asm ".set noreorder;\0Alw    $0,$1;\0A.set reorder;\0A", "=r,*m"(i32* getelementptr inbounds ([8 x i32]* @b, i32 {{[0-9]+}}, i32 {{[0-9]+}})) #2, !srcloc !0
   // CHECK: %{{[0-9]+}} = call i32 asm "lw    $0,${1:D};\0A", "=r,*m"(i32* getelementptr inbounds ([8 x i32]* @b, i32 {{[0-9]+}}, i32 {{[0-9]+}})) #2, !srcloc !1





More information about the cfe-commits mailing list