expressions: make assign_expression() take an op argument
[smatch.git] / validation / kill-cse.c
blob2e2b102462284c768b05fac68351ccbf633b7dd8
1 int foo(int a)
3 return ((a == 0) + 1) != ((a == 0) + 1);
6 /*
7 * check-name: kill-cse
8 * check-description:
9 * Verify that instructions removed at CSE are
10 * properly adjust the usage of their operands.
11 * check-command: test-linearize -Wno-decl $file
13 * check-output-start
14 foo:
15 .L0:
16 <entry-point>
17 ret.32 $0
20 * check-output-end