libfirm / cparser

C99 parser and frontend for libfirm
http://pp.ipd.kit.edu/firm
GNU General Public License v2.0
336 stars 38 forks source link

Can't work out that 0 || "string" is a constant. #58

Open landley opened 2 years ago

landley commented 2 years ago

$ cat test.c int abc = 0 || "hello"; $ cparser test.c test.c:1:13: error: initialisation expression '0 || "hello"' is not constant 1 error(s), 0 warning(s)