If an input constraint refers to an output constraint, it should have the same constraint info as the output constraint. Fixes PR3417

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63127 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/asm.c b/test/Sema/asm.c
index fa9b125..3acb58a 100644
--- a/test/Sema/asm.c
+++ b/test/Sema/asm.c
@@ -59,4 +59,4 @@
 void test6(long i)
 {
   asm("nop" : : "er"(i));
-}
\ No newline at end of file
+}