diff options
Diffstat (limited to 'testsuite/parseko/ternarystmt01.stp')
-rwxr-xr-x | testsuite/parseko/ternarystmt01.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/parseko/ternarystmt01.stp b/testsuite/parseko/ternarystmt01.stp new file mode 100755 index 00000000..ffac03b2 --- /dev/null +++ b/testsuite/parseko/ternarystmt01.stp @@ -0,0 +1,8 @@ +#! stap -p1 + +# missing ':' in ternary statement + +function decl() +{ + a = (a == 1) ? 0 +} |