+2006-01-05 Richard Henderson <rth@redhat.com>
+
+ * c-parser.c (c_parser_objc_methodprotolist): Handle CPP_PRAGMA.
+
2006-01-05 Carlos O'Donell <carlos@codesourcery.com>
* c-typeck.c: Update copyright date.
-/* It is OK to use #pragma inside @implementation body. This test checks that. */
-/* Ziemowit Laski <zlaski@apple.com>. */
+/* { dg-do compile { target *-*-darwin* } } */
+/* ??? Is there a better pragma that is handled for all targets, not
+ handled by the preprocessor, that would be better for testing here? */
-@interface A
-{
- int p;
-}
-+(int) foo;
--(int) bar;
-@end
-
-@implementation A
-#pragma mark -
-#pragma mark init / dealloc
-+ (int)foo {
- return 1;
-}
-#pragma mark -
-#pragma mark Private Functions
-- (int)bar {
- return 2;
-}
+@interface a {}
+#pragma mark --- Output ---
@end