diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 20:36:36 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-29 20:36:36 +0000 |
commit | 9b63f7c4d36d89732f455cc3c910a1e56f409492 (patch) | |
tree | c16c9b04d0ecc49c673a5c2d32c958d2872017ea /gcc/testsuite/gcc.dg/pr18725.c | |
parent | b8cd75b14f74061640685fa3c9dd6ac8bbf0cf14 (diff) | |
download | gcc-9b63f7c4d36d89732f455cc3c910a1e56f409492.tar.gz |
2004-11-29 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18725
* gcc.dg/pr18725.c: New test.
2004-11-29 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/18725
* tree-cfg.c (tree_node_can_be_shared): Error_mark_node can be
shared always.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91487 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr18725.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr18725.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr18725.c b/gcc/testsuite/gcc.dg/pr18725.c new file mode 100644 index 00000000000..0282d3b61ed --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr18725.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "" } */ + +void +f (void) +{ + int x = 1; + asm ("" : "" (x), "" (x)); /* { dg-error "output operand constraint lacks" } */ +} |