From 7954a9925a76d45a665934944d80b09638c8340b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 4 May 2025 18:24:32 +0900 Subject: fix issue where identifier whose name contains underscore cannot be parsed --- tests/025.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/025.sh (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2