2009-07-17 22:38:58 +00:00
|
|
|
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
|
2009-06-24 23:30:00 +00:00
|
|
|
|
2009-07-08 20:50:34 +00:00
|
|
|
# CHECK: TEST0:
|
|
|
|
# CHECK: .byte 0
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST0:
|
|
|
|
.byte 0
|
|
|
|
|
2009-07-08 20:50:34 +00:00
|
|
|
# CHECK: TEST1:
|
|
|
|
# CHECK: .short 3
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST1:
|
|
|
|
.short 3
|
|
|
|
|
2009-07-08 20:50:34 +00:00
|
|
|
# CHECK: TEST2:
|
|
|
|
# CHECK: .long 8
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST2:
|
|
|
|
.long 8
|
|
|
|
|
2009-07-08 20:50:34 +00:00
|
|
|
# CHECK: TEST3:
|
|
|
|
# CHECK: .quad 9
|
2009-06-24 23:30:00 +00:00
|
|
|
TEST3:
|
|
|
|
.quad 9
|
2010-08-24 00:43:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
# rdar://7997827
|
|
|
|
TEST4:
|
|
|
|
.quad 0b0100
|
|
|
|
.quad 4294967295
|
|
|
|
.quad 4294967295+1
|
|
|
|
.quad 4294967295LL+1
|
|
|
|
.quad 0b10LL + 07ULL + 0x42AULL
|
|
|
|
# CHECK: TEST4
|
|
|
|
# CHECK: .quad 4
|
|
|
|
# CHECK: .quad 4294967295
|
|
|
|
# CHECK: .quad 4294967296
|
|
|
|
# CHECK: .quad 4294967296
|
|
|
|
# CHECK: .quad 1075
|
|
|
|
|
|
|
|
|
2010-11-01 15:29:07 +00:00
|
|
|
TEST5:
|
|
|
|
.value 8
|
|
|
|
# CHECK: TEST5:
|
|
|
|
# CHECK: .short 8
|