Debian Codegraph @

testsuite/parseok/macros05.stp

raw
1 #! /bin/sh
2
3 # test interaction between conditionals and macro expansion
4
5 stap $@ -p1 - 1 2 3 4 5 <<'END'
6
7 @define foo %( %( $# >= 5 %? @5 %: "" %) %)
8
9 probe begin { printf("Hello, World %s!", @foo) }
10
11 END