diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-04 14:29:07 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-04 14:29:07 +0900 |
| commit | 298977906d005ec026778286591f5843406291b7 (patch) | |
| tree | 064de1d23fe0ffdb5d69403bf5fe8bdbe09bcadf /tests/021.sh | |
| parent | 9a35c86da5a81d9e83f7729f1ada8a5bf5934014 (diff) | |
| download | P4Dcc-298977906d005ec026778286591f5843406291b7.tar.gz P4Dcc-298977906d005ec026778286591f5843406291b7.tar.zst P4Dcc-298977906d005ec026778286591f5843406291b7.zip | |
support pointer types
Diffstat (limited to 'tests/021.sh')
| -rw-r--r-- | tests/021.sh | 24 |
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 |
