diff options
author | Jeff Law <law@gcc.gnu.org> | 1998-05-04 18:18:36 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-05-04 18:18:36 -0600 |
commit | 2bbb51a15fb4b3683a0b7c318ef46176a38b71d9 (patch) | |
tree | c3316e05717c8f47fc8695c26c5efc049e29519c | |
parent | f78c792cb51746c035a3d3f613fd89f1453f0f1e (diff) | |
download | gcc-2bbb51a15fb4b3683a0b7c318ef46176a38b71d9.zip gcc-2bbb51a15fb4b3683a0b7c318ef46176a38b71d9.tar.gz gcc-2bbb51a15fb4b3683a0b7c318ef46176a38b71d9.tar.bz2 |
New test
From-SVN: r19535
-rw-r--r-- | gcc/testsuite/gcc.dg/980502-1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/980502-1.c b/gcc/testsuite/gcc.dg/980502-1.c new file mode 100644 index 0000000..ec4749d --- /dev/null +++ b/gcc/testsuite/gcc.dg/980502-1.c @@ -0,0 +1,9 @@ +/* { dg-do compile }*/ +/* { dg-options "-O2" } */ + +void f(void) +{ + char *const line = "/dev/ptyXX"; + line[8] = 1; + return line; +} |