diff --git a/tests/29_array_address.c b/tests/29_array_address.c new file mode 100644 index 0000000..83f63ed --- /dev/null +++ b/tests/29_array_address.c @@ -0,0 +1,3 @@ +char a[10]; +strcpy(a, "abcdef"); +printf("%s\n", &a[1]); diff --git a/tests/29_array_address.expect b/tests/29_array_address.expect new file mode 100644 index 0000000..9bc8683 --- /dev/null +++ b/tests/29_array_address.expect @@ -0,0 +1 @@ +bcdef