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