summaryrefslogtreecommitdiff
path: root/test/Sema/inline-asm-validate-tmpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/inline-asm-validate-tmpl.cpp')
-rw-r--r--test/Sema/inline-asm-validate-tmpl.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/Sema/inline-asm-validate-tmpl.cpp b/test/Sema/inline-asm-validate-tmpl.cpp
index 9e234caa9c..cf7eac3d83 100644
--- a/test/Sema/inline-asm-validate-tmpl.cpp
+++ b/test/Sema/inline-asm-validate-tmpl.cpp
@@ -23,13 +23,3 @@ template <int N> void testc(int value)
asm("rol %1, %0" :"=r"(value): "I"(N + 1));
}
int foo() { testc<2>(10); }
-
-// these should compile without error
-template <int N> bool testd()
-{
- __asm goto ("" : : : : lab);
- return true;
-lab:
- return false;
-}
-bool foox() { return testd<0> (); }