From patchwork Sun Oct 24 03:03:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Pero X-Patchwork-Id: 69022 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id A020DB70A5 for ; Sun, 24 Oct 2010 14:03:31 +1100 (EST) Received: (qmail 21243 invoked by alias); 24 Oct 2010 03:03:28 -0000 Received: (qmail 21235 invoked by uid 22791); 24 Oct 2010 03:03:27 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Oct 2010 03:03:22 +0000 Received: from eggs.gnu.org ([140.186.70.92]:36007) by fencepost.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P9qrg-0003Qg-Su for gcc-patches@gnu.org; Sat, 23 Oct 2010 23:03:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9qrf-0007kg-Sc for gcc-patches@gnu.org; Sat, 23 Oct 2010 23:03:21 -0400 Received: from smtp181.iad.emailsrvr.com ([207.97.245.181]:41137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9qrf-0007kc-QH for gcc-patches@gnu.org; Sat, 23 Oct 2010 23:03:19 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp38.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 2C3B2348376 for ; Sat, 23 Oct 2010 23:03:19 -0400 (EDT) Received: from dynamic12.wm-web.iad.mlsrvr.com (dynamic12.wm-web.iad1a.rsapps.net [192.168.2.219]) by smtp38.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 179913481EF for ; Sat, 23 Oct 2010 23:03:18 -0400 (EDT) Received: from meta-innovation.com (localhost [127.0.0.1]) by dynamic12.wm-web.iad.mlsrvr.com (Postfix) with ESMTP id E2A972168082 for ; Sat, 23 Oct 2010 23:03:18 -0400 (EDT) Received: by www2.webmail.us (Authenticated sender: nicola.pero@meta-innovation.com, from: nicola.pero@meta-innovation.com) with HTTP; Sun, 24 Oct 2010 05:03:18 +0200 (CEST) Date: Sun, 24 Oct 2010 05:03:18 +0200 (CEST) Subject: PR objc/28049 From: "Nicola Pero" To: "gcc-patches@gnu.org" MIME-Version: 1.0 X-Type: plain Message-ID: <1287889398.927117759@192.168.2.229> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This bug is already fixed in trunk, but I'd like to commit a couple of testcases for it to make sure it doesn't reappear. Ok to commit ? Thanks Index: ChangeLog =================================================================== --- ChangeLog (revision 165896) +++ ChangeLog (working copy) @@ -1,5 +1,10 @@ 2010-10-24 Nicola Pero + * objc.dg/pr28049.m: New. + * obj-c++.dg/pr28049.mm: New. + +2010-10-24 Nicola Pero + * objc.dg/attributes/method-attribute-2.m: Updated test. Method parameter attributes are now supported. * obj-c++.dg/attributes/method-attribute-2.m: Same change. Index: objc.dg/pr28049.m =================================================================== --- objc.dg/pr28049.m (revision 0) +++ objc.dg/pr28049.m (revision 0) @@ -0,0 +1,2 @@ +/* { dg-do compile } */ ++ /* { dg-error "expected" } */ Index: obj-c++.dg/pr28049.mm =================================================================== --- obj-c++.dg/pr28049.mm (revision 0) +++ obj-c++.dg/pr28049.mm (revision 0) @@ -0,0 +1,2 @@ +/* { dg-do compile } */ ++ /* { dg-error "expected" } */