summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/seventeen.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/parseok/seventeen.stp')
-rwxr-xr-xtestsuite/parseok/seventeen.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/parseok/seventeen.stp b/testsuite/parseok/seventeen.stp
new file mode 100755
index 00000000..395b29aa
--- /dev/null
+++ b/testsuite/parseok/seventeen.stp
@@ -0,0 +1,8 @@
+#! stap -p1
+
+# Make sure you can use keywords in target symbol structure
+# references (Bugzilla 2193).
+
+probe kernel.function("add_timer_on") {
+ printf("%x\n", $timer->function)
+}