aboutsummaryrefslogtreecommitdiffstats
path: root/test/nsprof1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/nsprof1.awk')
-rw-r--r--test/nsprof1.awk16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/nsprof1.awk b/test/nsprof1.awk
new file mode 100644
index 00000000..46be5bc9
--- /dev/null
+++ b/test/nsprof1.awk
@@ -0,0 +1,16 @@
+@namespace "foo"
+
+BEGIN {
+ a = 5
+ a++
+ print a
+}
+
+/foo/ { print "bar" }
+
+@namespace "stuff"
+
+function stuff()
+{
+ print "stuff"
+}