File: additive

package info (click to toggle)
tcng 10b-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,632 kB
  • ctags: 2,515
  • sloc: ansic: 19,038; pascal: 4,640; yacc: 2,619; sh: 1,908; perl: 1,546; lex: 772; makefile: 755
file content (20 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Additive headers at external interface (C) ----------------------------------
LD_LIBRARY_PATH=. \
  tcsim -v -Xc,-tif:c tests/lib/additive.tcsim | \
  sed '/.* c .*returns /{s///;s/ (.*//;p;};d'
OK
UNSPEC
UNSPEC
OK
# Additive headers at external interface (external) ---------------------------
LD_LIBRARY_PATH=. PATH=$PATH:tcc/ext \
  tcsim -v -Xc,-xif:test tests/lib/additive.tcsim | \
  sed '/.* c .*returns /{s///;s/ (.*//;p;};d'
OK
UNSPEC
UNSPEC
OK
# Additive headers at external interface (u32 can't do this) ------------------
tcc tests/lib/additive.tc 2>&1 >/dev/null
ERROR
can't dump subexpression (if_u32.c, access expected)