Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / params-2.c
blob433c658720f232e85aca34e982b074fafc995838
1 #include <stdlib.h>
2 #include "analyzer-decls.h"
4 static void ensure_equal (int a, int b)
6 if (a != b)
7 abort ();
10 void test(int i, int j)
12 __analyzer_eval (i == j); /* { dg-warning "UNKNOWN" } */
14 ensure_equal (i, j);
16 __analyzer_eval (i == j); /* { dg-warning "TRUE" } */