commit | 861a2855d470ecb465a03c86b32860d0bef448ff | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Wed Nov 21 23:27:34 2007 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Wed Nov 21 23:27:34 2007 +0000 |
tree | 2695fe70dd62c786cb3e8af9be4058dc07801e39 | |
parent | 076c11195af18f4af5765239dc25bff2697fbce3 [diff] [blame] |
GCC fails if there is a trailing colon but no clobbers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44265 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/asm.c b/test/Parser/asm.c new file mode 100644 index 0000000..a09b545 --- /dev/null +++ b/test/Parser/asm.c
@@ -0,0 +1,5 @@ +// RUN: clang -fsyntax-only -verify %s + +void f1() { + asm ("ret" : : :); // expected-error {{expected string literal}} +}