mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
525a3a67c1
variable has not yet been used in an expression. This allows us to support a few cases that show up in real code (mostly because gcc generates it for Objective-C on Darwin), without giving up a reasonable semantic model for assignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103950 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
188 B
ArmAsm
12 lines
188 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
|
|
|
# CHECK: TEST0:
|
|
# CHECK: a = 0
|
|
TEST0:
|
|
a = 0
|
|
|
|
# CHECK: .globl _f1
|
|
# CHECK: _f1 = 0
|
|
.globl _f1
|
|
_f1 = 0
|