aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-26 19:33:34 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-26 19:33:34 +0800
commiteb001bab8f7a342afde93bd8c2c300a9e837db79 (patch)
treedcb89b53a2805bec0cf63c171976e9ecc3a6cad2 /test.c
parent5f2965bcaca608f0d9af84373565539ae384918d (diff)
...
Diffstat (limited to 'test.c')
-rw-r--r--test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.c b/test.c
index 20b2968..21314b1 100644
--- a/test.c
+++ b/test.c
@@ -22,5 +22,14 @@ int main() {
PV("a");
PV("hello");
cscope_debug_print(scope);
+ cscope_enter(scope);
+ PV("a");
+ PV("yay");
+ PV("world");
+ cscope_debug_print(scope);
+ cscope_exit(scope);
+ cscope_debug_print(scope);
+ cscope_exit(scope);
+ cscope_debug_print(scope);
return 0;
}