blob: 533a0ec0f348e98b7ce8db86a6d12b68b3007002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 23 Jul 2003 <nathan@codesourcery.com>
// PR 11282. Infinite loop/memory consumption
struct parameter_struct_t {
char short_option;
char *long_option;
};
parameter_struct_t *parameters[] = {
{
'f'; // { dg-error "error before" "" }
"from";
};
};
|