diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr37955.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr37955.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr37955.c b/gcc/testsuite/gcc.c-torture/compile/pr37955.c new file mode 100644 index 000000000..1ac0246f5 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr37955.c @@ -0,0 +1,19 @@ +typedef struct +{ + enum { NotConnected = 0 } conn_state; + unsigned int conn_hndl; +} AEP_CONNECTION_ENTRY; + +static AEP_CONNECTION_ENTRY aep_app_conn_table[256]; + +void aep_mod_exp (void) +{ + int count; + + for (count = 0; count < 256; count++) + { + aep_app_conn_table[count].conn_state = NotConnected; + aep_app_conn_table[count].conn_hndl = 0; + } +} + |