aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/gnu-type.s
blob: 19029e48ee96796d92ae5a9e85dbec01b0c1d31a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// RUN: llvm-mc -triple i686-elf -filetype asm -o - %s | FileCheck %s

	.type TYPE STT_FUNC
// CHECK: .type TYPE,@function

	.type comma_TYPE, STT_FUNC
// CHECK: .type comma_TYPE,@function

	.type at_TYPE, @STT_FUNC
// CHECK: .type at_TYPE,@function

	.type percent_TYPE, %STT_FUNC
// CHECK: .type percent_TYPE,@function

	.type string_TYPE, "STT_FUNC"
// CHECK: .type string_TYPE,@function

	.type type function
// CHECK: .type type,@function

	.type comma_type, function
// CHECK: .type comma_type,@function

	.type at_type, @function
// CHECK: .type at_type,@function

	.type percent_type, %function
// CHECK: .type percent_type,@function

	.type string_type, "function"
// CHECK: .type string_type,@function

	.type special gnu_unique_object
// CHECK: .type special,@gnu_unique_object

	.type comma_special, gnu_unique_object
// CHECK: .type comma_special,@gnu_unique_object