mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
f29c5818bf
Summary: These directives are used to save the current assembler options (in the case of ".set push") and restore the previously saved options (in the case of ".set pop"). Contains work done by Matheus Almeida. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4821 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217432 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
501 B
ArmAsm
15 lines
501 B
ArmAsm
# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 2>%t1
|
|
# RUN: FileCheck %s < %t1
|
|
|
|
.text
|
|
.set pop
|
|
# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push
|
|
.set push
|
|
.set pop
|
|
.set pop
|
|
# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push
|
|
.set push foo
|
|
# CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement
|
|
.set pop bar
|
|
# CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement
|