aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
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;
}