Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: gcc/gcc/testsuite/gcc.dg/attr-used-2.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/attr-noinline.c ('k') | gcc/gcc/testsuite/gcc.dg/attr-weakref-1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/attr-used-2.c
diff --git a/gcc/gcc/testsuite/gcc.dg/attr-used-2.c b/gcc/gcc/testsuite/gcc.dg/attr-used-2.c
deleted file mode 100644
index f78b94b53a940e825ae7f4bb11901056fa516622..0000000000000000000000000000000000000000
--- a/gcc/gcc/testsuite/gcc.dg/attr-used-2.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-Wall -O2" } */
-
-static int xyzzy __attribute__((__used__)) = 1;
-
-void foo()
-{
- int x __attribute__((__used__)); /* { dg-warning "attribute ignored|unused variable" } */
-}
-
-/* { dg-final { scan-assembler "xyzzy" } } */
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/attr-noinline.c ('k') | gcc/gcc/testsuite/gcc.dg/attr-weakref-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698