diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-07 23:42:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-07 23:42:55 +0900 |
| commit | 8e29209da98ee43c44ec9a508512b0d6e67a9fe4 (patch) | |
| tree | 2d3d3cf374ed939d4426ba58553c32323341d8f0 /tests | |
| parent | 4f88c6b1b511f2e84b0a0256b032c3e9764bcc3e (diff) | |
| download | ducc-8e29209da98ee43c44ec9a508512b0d6e67a9fe4.tar.gz ducc-8e29209da98ee43c44ec9a508512b0d6e67a9fe4.tar.zst ducc-8e29209da98ee43c44ec9a508512b0d6e67a9fe4.zip | |
implement parsing of "const" keyword
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/045.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/045.sh b/tests/045.sh index 5bbb001..18f8e76 100644 --- a/tests/045.sh +++ b/tests/045.sh @@ -3,7 +3,7 @@ set -e cat <<'EOF' > expected EOF bash ../../test_diff.sh <<'EOF' -int atoi(char*); +int atoi(const char*); void* calloc(long, long); void exit(int); int getchar(void); @@ -12,8 +12,10 @@ int isalpha(int); int isdigit(int); int isspace(int); void* memcpy(void*, void*, long); -int strcmp(char*, char*); -char* strstr(char*, char*); +int printf(); +int sprintf(); +int strcmp(const char*, const char*); +char* strstr(const char*, const char*); int main() { return 0; } EOF |
