[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AsmParser / macros-argument-parsing-diagnostics.s
bloba1970e0c9d57759535cab6576431f2bbc08f624c
1 # RUN: not llvm-mc -triple i386 -filetype asm -o /dev/null %s 2>&1 | FileCheck %s
3 .macro double first = -1, second = -1
4 # begin entry
5 .long \first
6 .long \second
7 # end entry
8 .endm
10 double 0, 1, 2
11 # CHECK: error: too many positional arguments
12 # CHECK: double 0, 1, 2
13 # CHECK: ^
15 double second = 1, 2
16 # CHECK: error: cannot mix positional and keyword arguments
17 # CHECK: double second = 1, 2
18 # CHECK: ^
20 double third = 0
21 # CHECK: error: parameter named 'third' does not exist for macro 'double'
22 # CHECK: double third = 0
23 # CHECK: ^