mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-25 03:30:37 +00:00
13 lines
211 B
ArmAsm
13 lines
211 B
ArmAsm
|
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t 2>&1 | FileCheck %s
|
||
|
|
||
|
// CHECK: error: Cannot represent a subtraction with a weak symbol
|
||
|
|
||
|
.weak f
|
||
|
.weak g
|
||
|
f:
|
||
|
nop
|
||
|
g:
|
||
|
nop
|
||
|
|
||
|
.quad g - f
|