aboutsummaryrefslogtreecommitdiff
path: root/tests/asmtest.S
diff options
context:
space:
mode:
authorJoe Soroka <gits@joesoroka.com>2011-02-24 09:24:02 -0800
committerJoe Soroka <gits@joesoroka.com>2011-02-24 09:24:02 -0800
commitbec84fa00a4c4b2fab34e49fb8308e372c734709 (patch)
tree9e2a9dab07e1af8f3c1aec8dedeca1f2126355eb /tests/asmtest.S
parent15b8a5709655b7f64e0c25f4cbf34887134cfed9 (diff)
downloadtinycc-bec84fa00a4c4b2fab34e49fb8308e372c734709.tar.gz
tinycc-bec84fa00a4c4b2fab34e49fb8308e372c734709.tar.bz2
tccasm: support alternate .type syntaxes
Diffstat (limited to 'tests/asmtest.S')
-rw-r--r--tests/asmtest.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S
index d4d83ad..8ae19d4 100644
--- a/tests/asmtest.S
+++ b/tests/asmtest.S
@@ -592,3 +592,17 @@ int $0x10
#ifdef __ASSEMBLER__ // should be defined, for S files
inc %eax
#endif
+
+ft1: ft2: ft3: ft4: ft5: ft6: ft7: ft8: ft9:
+ xor %eax, %eax
+ ret
+
+.type ft1,STT_FUNC
+.type ft2,@STT_FUNC
+.type ft3,%STT_FUNC
+.type ft4,"STT_FUNC"
+.type ft5,function
+.type ft6,@function
+.type ft7,%function
+.type ft8,"function"
+