function_hooks/unwind: introduce return_implies_exact()
[smatch.git] / validation / linear / range-op.c
blob4472bb3304341c6032e8912cd5bcb0b735e989fb
1 static void foo(int a)
3 __range__(a, 0, 8);
6 static void bar(int a, int b, int c)
8 __range__(a, b, c);
12 * check-name: range-op
13 * check-command: test-linearize -Wno-decl $file
15 * check-output-start
16 foo:
17 .L0:
18 <entry-point>
19 range-check %arg1 between $0..$8
20 ret
23 bar:
24 .L2:
25 <entry-point>
26 range-check %arg1 between %arg2..%arg3
27 ret
30 * check-output-end