OSDN Git Service

* init.c (decl_constant_value): Deal with COND_EXPR specially.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / expr / incomplete1.C
1 // PR 10202
2 // { dg-do compile }
3 // { dg-options -O0 }
4
5 extern struct _smtp_account smtp_accounts[];
6 typedef struct _smtp_account {
7         int flags;
8 } Smtp_Account;
9
10 void get_smtp_host_info ()
11 {
12         if (smtp_accounts[0].flags & 0x01)
13                 get_smtp_host_info();
14 }