diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-04 18:24:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-04 18:24:32 +0900 |
| commit | 7954a9925a76d45a665934944d80b09638c8340b (patch) | |
| tree | f78b04e5301d85ebafc314de0e3d969eb1d74cf7 /tests | |
| parent | 55f2e9c33f8e61e19da4a52fc6a04cdf7dd770c4 (diff) | |
| download | P4Dcc-7954a9925a76d45a665934944d80b09638c8340b.tar.gz P4Dcc-7954a9925a76d45a665934944d80b09638c8340b.tar.zst P4Dcc-7954a9925a76d45a665934944d80b09638c8340b.zip | |
fix issue where identifier whose name contains underscore cannot be parsed
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/025.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/025.sh b/tests/025.sh new file mode 100644 index 0000000..1f673a1 --- /dev/null +++ b/tests/025.sh @@ -0,0 +1,17 @@ +set -e + +cat <<'EOF' > expected +123 +EOF +bash ../../test_diff.sh <<'EOF' +int printf(); + +void foo_bar(int hoge_piyo) { + printf("%d\n", hoge_piyo); +} + +int main() { + foo_bar(123); + return 0; +} +EOF |
