Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr69156.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR tree-optimization/69156 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O1 -fno-tree-ccp" } */ | |
4 | |
5 _Bool | |
6 foo () | |
7 { | |
145 | 8 _Bool (*f) () = __builtin_abs; /* { dg-warning "initialization of '_Bool \\(\\*\\)\\(\\)' from pointer to .__builtin_abs. with incompatible type .int \\\(\\\*\\\)." } */ |
111 | 9 return f (0); |
10 } |