mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 05:21:28 +00:00

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
|