diff options
author | Simon Atanasyan <satanasyan@mips.com> | 2012-05-22 11:03:10 +0000 |
---|---|---|
committer | Simon Atanasyan <satanasyan@mips.com> | 2012-05-22 11:03:10 +0000 |
commit | d95e95ec5300249f5b7c6f1b72bde59e5141069c (patch) | |
tree | cffe148df2934dd41712e9d44c6926d179bc725f /test/SemaTemplate/instantiate-expr-1.cpp | |
parent | 0e5e092228495c9524ba6fa9b49f116a0c1bbe55 (diff) |
Replace inline asm constraint "=a" by the more general constraint "=r".
That extend a range of platforms support this test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-expr-1.cpp')
-rw-r--r-- | test/SemaTemplate/instantiate-expr-1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/instantiate-expr-1.cpp b/test/SemaTemplate/instantiate-expr-1.cpp index 9395117e9c..e777243586 100644 --- a/test/SemaTemplate/instantiate-expr-1.cpp +++ b/test/SemaTemplate/instantiate-expr-1.cpp @@ -127,7 +127,7 @@ void test_call_operator(CallOperator call_op, int i, double d) { template<typename T> void test_asm(T t) { - asm ("nop" : "=a"(*t) : "r"(*t)); // expected-error {{indirection requires pointer operand ('int' invalid)}} + asm ("nop" : "=r"(*t) : "r"(*t)); // expected-error {{indirection requires pointer operand ('int' invalid)}} } void test_asm() { |