Showing error 1434

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-regression/test_union.c_safe_1.i
Line in file: 9
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

 1# 1 "files/test_union.c"
 2# 1 "<built-in>"
 3# 1 "<command-line>"
 4# 1 "files/test_union.c"
 5# 1 "./assert.h" 1
 6
 7void __blast_assert()
 8{
 9 ERROR: goto ERROR;
10}
11# 2 "files/test_union.c" 2
12
13
14
15
16
17
18
19
20
21union A {
22 int list;
23 int l2;
24 char * str;
25};
26
27int main(void) {
28 union A x;
29 x.list = 0;
30
31 ((x.l2 == 0) ? (0) : __blast_assert ());
32
33
34
35}