Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C

Compiler

gcc HEAD 9.0.0 20181026 (experimental)

Options
Warnings
C11(GNU)
no pedantic

Author

anonymous

over 6 years ago

$ gcc prog.c -Wall -Wextra -std=gnu11
prog.c:3:27: warning: integer overflow in expression '-2147483648' of type 'int' results in '-2147483648' [-Woverflow]
    3 | _Static_assert(INT_MIN == -INT_MIN, "two's complement math");
      |                           ^
Exit Code:
0