Fix #21189 - wrong/missing error line when source file isn't regular (#21190)

This commit is contained in:
Dennis 2025-04-10 01:19:58 +02:00 committed by GitHub
parent 3070fc288a
commit 0aee4697bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 39 additions and 30 deletions

View file

@ -1,7 +1,10 @@
// check dsymbolSemantic analysis of C files
/* TEST_OUTPUT:
REQUIRED_ARGS: -verrors=context
---
fail_compilation/failcstuff6.c(56): Error: enum member `failcstuff6.test_overflow.boom` initialization with `2147483647+1` causes overflow for type `int`
boom,
^
---
*/