Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / c-c++-common / analyzer / data-model-path-1.c
blobd7058ea18e034a181bf7fac686956703ac9394a9
1 #include <stddef.h>
3 static int *__attribute__((noinline))
4 callee (void)
6 return NULL;
9 void test_1 (void)
11 int *p = callee (); /* { dg-message "return of NULL to 'test_1' from 'callee'" } */
12 *p = 42; /* { dg-warning "dereference of NULL 'p'" } */