diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-08-13 15:20:23 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2007-08-13 15:20:23 +0000 |
commit | 5af2dcfbcfff457140cb8edf7befc7dbd00c6466 (patch) | |
tree | 8010e25ead36819795779cd40fc20643b75f2cb3 /tests/webtbs/tw7733.pp | |
parent | 09c95b7b34c5fc8e7d8b69fd4ca31d01590e1318 (diff) | |
download | fpc-5af2dcfbcfff457140cb8edf7befc7dbd00c6466.tar.gz |
+ added (works now)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@8279 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/webtbs/tw7733.pp')
-rw-r--r-- | tests/webtbs/tw7733.pp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/webtbs/tw7733.pp b/tests/webtbs/tw7733.pp new file mode 100644 index 0000000000..3c60c5cb15 --- /dev/null +++ b/tests/webtbs/tw7733.pp @@ -0,0 +1,13 @@ +{ %cpu=i386 } + +function A: pointer; assembler; nostackframe; +asm + pushl $A + popl %eax +end; + +begin + if A <> pointer(@A) then + halt(1); +end. + |