mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
2393a24fed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
168 B
LLVM
12 lines
168 B
LLVM
; RUN: not llvm-as -f %s -o /dev/null
|
|
|
|
; Test that self referential instructions are not allowed
|
|
|
|
implementation
|
|
|
|
void "test"()
|
|
begin
|
|
%A = add int %A, 0
|
|
ret void
|
|
end
|