PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / pr70144-2.c
blob0973b792e95a8243eec2d53fceaea1ee3cd96c79
1 /* PR c++/70144 */
2 /* { dg-do run } */
3 /* { dg-options "-O2" } */
5 int
6 main ()
8 if (__builtin_constant_p (__builtin_memset) != 0
9 || __builtin_classify_type (__builtin_memset) != 5)
10 __builtin_abort ();
11 return 0;