diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-31 00:04:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-31 00:04:38 +0900 |
| commit | 76b0c6bb6bbc339789943ada1f79ec1eba52239f (patch) | |
| tree | 083f3a6a8f6bb8275b5c6f9bb6a4c12d22b175ee /tests | |
| parent | 75193c09f1dfcb3c7c726e5492f973a43402e270 (diff) | |
| download | ducc-76b0c6bb6bbc339789943ada1f79ec1eba52239f.tar.gz ducc-76b0c6bb6bbc339789943ada1f79ec1eba52239f.tar.zst ducc-76b0c6bb6bbc339789943ada1f79ec1eba52239f.zip | |
fix: #else/#endif with trailing whitespace or comment
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/109.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/109.sh b/tests/109.sh new file mode 100644 index 0000000..40b2c82 --- /dev/null +++ b/tests/109.sh @@ -0,0 +1,10 @@ +cat <<'EOF' > expected +EOF + +test_diff <<'EOF' +#if 1 // a +#else // b +#endif // c + +int main() {} +EOF |
