mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
17 lines
243 B
ArmAsm
17 lines
243 B
ArmAsm
|
# RUN: llvm-mc -triple i386 -o - %s | FileCheck %s
|
||
|
|
||
|
.macro required parameter:req
|
||
|
.long \parameter
|
||
|
.endm
|
||
|
|
||
|
required 0
|
||
|
# CHECK: .long 0
|
||
|
|
||
|
.macro required_with_default parameter:req=0
|
||
|
.long \parameter
|
||
|
.endm
|
||
|
|
||
|
required 1
|
||
|
# CHECK: .long 1
|
||
|
|