diff options
Diffstat (limited to 'regress/gnu/egcs/gcc-bounds/sscanf-3.c')
-rw-r--r-- | regress/gnu/egcs/gcc-bounds/sscanf-3.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/gnu/egcs/gcc-bounds/sscanf-3.c b/regress/gnu/egcs/gcc-bounds/sscanf-3.c new file mode 100644 index 00000000000..455562f459f --- /dev/null +++ b/regress/gnu/egcs/gcc-bounds/sscanf-3.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +extern char buf1[]; + +int main(int argc, char **argv) { + char q[10], buf1[10]; + sscanf(q,"%[.0-9]",buf1); + return 1; +} |