added testcase related to issue #1768

This commit is contained in:
mrdudz
2022-08-27 01:15:06 +02:00
parent d2628d5949
commit 90b9438b48
2 changed files with 20 additions and 0 deletions

14
test/misc/bug1768.c Normal file
View File

@@ -0,0 +1,14 @@
#include <stdlib.h>
int a = 1 || (8 / 0);
int b = 0 && (8 % 0);
int c = 1 ? 42 : (0 % 0);
int d = 1 || a / 0;
int e = 0 && b % 0;
int f = 1 ? 42 : (a %= 0, b /= 0);
int main(void)
{
return EXIT_SUCCESS;
}