aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/021.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/021.sh')
-rw-r--r--tests/021.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/021.sh b/tests/021.sh
new file mode 100644
index 0000000..2f225e1
--- /dev/null
+++ b/tests/021.sh
@@ -0,0 +1,24 @@
+set -e
+
+cat <<'EOF' > expected
+EOF
+bash ../../test_diff.sh <<'EOF'
+int main() {
+ int a1;
+ int* a2;
+ char a3;
+ char* a4;
+ long a5;
+ long* a6;
+ void* a8;
+ int** a10;
+ char** a12;
+ long** a14;
+ void** a16;
+ int*** a18;
+ char*** a20;
+ long*** a22;
+ void*** a24;
+ return 0;
+}
+EOF