re PR testsuite/24841 (dg-require compilation-test trigged on test with additional-sources barfs)

PR testsuite/24841
	* gcc.dg/attr-weakref-1.c: Rearrange test directives.

From-SVN: r106923
This commit is contained in:
Janis Johnson 2005-11-15 01:18:45 +00:00 committed by Janis Johnson
parent 46de9b3caf
commit f2025db263
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-14 Janis Johnson <janis187@us.ibm.com>
PR testsuite/24841
* gcc.dg/attr-weakref-1.c: Rearrange test directives.
2005-11-14 Dale Johannesen <dalej@apple.com>
* gcc.c-torture/execute/20051113-1.c: New.

View File

@ -1,7 +1,7 @@
// { dg-do run }
// { dg-additional-sources " attr-weakref-1a.c" }
// { dg-require-weak "" }
// { dg-options "-O2" }
// { dg-additional-sources "attr-weakref-1a.c" }
// Copyright 2005 Free Software Foundation, Inc.
// Contributed by Alexandre Oliva <aoliva@redhat.com>