blob: 179948553c5fde4ed7c98a373d5aa37b4d788cd1 [file] [log] [blame]
/* PR c/106947 */
/* { dg-do compile } */
/* { dg-options "-Waddress" } */
#ifndef __cplusplus
# define bool _Bool
#endif
#pragma GCC diagnostic ignored "-Waddress"
int s; /* { dg-bogus "declared" } */
bool e = &s;
int
main ()
{
int error = 0;
{
bool e1 = &s;
if (!e1)
error = 1;
}
return error;
}