]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/asm1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / asm1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/asm1.C b/gcc/testsuite/g++.old-deja/g++.pt/asm1.C
deleted file mode 100644 (file)
index d093002..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// Origin: "Weidmann, Nicholas" <nicholas.weidmann@swx.ch>
-// Skip if not target: i?86-*-linux*
-
-template<int i> int foo(int v)
-{
-       __asm__ __volatile__("addl %1, %0" : "=a" (v) : "b" (i));
-
-       return v;
-}
-
-int bar(int i)
-{
-       return foo<123>(i);
-}
-