From dabe43de8479106ea52dcbbef3de6a796e7dad7a Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Thu, 6 Apr 2000 12:51:33 +0000 Subject: [PATCH] cpp-ifparen.c, [...]: Add FSF copyright. * cpp-ifparen.c, cpp-missingop.c, cpp-missingparen.c, cpp-shift.c, cpp-shortcircuit.c, cpp-unary.c: Add FSF copyright. From-SVN: r32968 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/cpp-ifparen.c | 2 ++ gcc/testsuite/gcc.dg/cpp-missingop.c | 2 ++ gcc/testsuite/gcc.dg/cpp-missingparen.c | 20 +++++++------------- gcc/testsuite/gcc.dg/cpp-shift.c | 2 ++ gcc/testsuite/gcc.dg/cpp-shortcircuit.c | 2 ++ gcc/testsuite/gcc.dg/cpp-unary.c | 2 ++ 7 files changed, 23 insertions(+), 13 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1837a22a6b5..53f510087a8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2000-04-06 Neil Booth + + * cpp-ifparen.c, cpp-missingop.c, cpp-missingparen.c, + cpp-shift.c, cpp-shortcircuit.c, cpp-unary.c: Add FSF + copyright. + 2000-04-04 Geoff Keating * gcc.dg/cast-qual-1.c: Revert last change. diff --git a/gcc/testsuite/gcc.dg/cpp-ifparen.c b/gcc/testsuite/gcc.dg/cpp-ifparen.c index 98da88bfdc3..af7a10cbc11 100644 --- a/gcc/testsuite/gcc.dg/cpp-ifparen.c +++ b/gcc/testsuite/gcc.dg/cpp-ifparen.c @@ -1,3 +1,5 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* { dg-do preprocess } */ /* These now use "!=" rather than "<" to increase chance of failure. */ diff --git a/gcc/testsuite/gcc.dg/cpp-missingop.c b/gcc/testsuite/gcc.dg/cpp-missingop.c index 286896c7417..66270dab65d 100644 --- a/gcc/testsuite/gcc.dg/cpp-missingop.c +++ b/gcc/testsuite/gcc.dg/cpp-missingop.c @@ -1,3 +1,5 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* { dg-do preprocess } */ /* Various illegal expressions with missing components. */ diff --git a/gcc/testsuite/gcc.dg/cpp-missingparen.c b/gcc/testsuite/gcc.dg/cpp-missingparen.c index bd2b53bc037..b57b5d189ab 100644 --- a/gcc/testsuite/gcc.dg/cpp-missingparen.c +++ b/gcc/testsuite/gcc.dg/cpp-missingparen.c @@ -1,27 +1,21 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* Test various combinations of missing parentheses give the correct missing parenthesis message. */ /* { dg-do preprocess } */ -#if (1 +#if (1 /* { dg-error "missing '\\)'" "missing ')' no. 1" } */ #endif -#if 2 * (3 + 4 +#if 2 * (3 + 4 /* { dg-error "missing '\\)'" "missing ')' no. 2" } */ #endif -#if (2)) +#if (2)) /* { dg-error "missing '\\('" "missing '(' no. 1" } */ #endif -#if ) +#if ) /* { dg-error "missing '\\('" "missing '(' no. 2" } */ #endif -#if 4) +#if 4) /* { dg-error "missing '\\('" "missing '(' no. 3" } */ #endif - -/* { dg-error "missing '\\)'" "missing ')' no. 1" { target *-*-* } 6 } */ -/* { dg-error "missing '\\)'" "missing ')' no. 2" { target *-*-* } 9 } */ -/* { dg-error "missing '\\('" "missing '(' no. 1" { target *-*-* } 12 } */ -/* { dg-error "missing '\\('" "missing '(' no. 2" { target *-*-* } 15 } */ -/* { dg-error "missing '\\('" "missing '(' no. 3" { target *-*-* } 18 } */ - - diff --git a/gcc/testsuite/gcc.dg/cpp-shift.c b/gcc/testsuite/gcc.dg/cpp-shift.c index cbcb37fa090..a55420a79bf 100644 --- a/gcc/testsuite/gcc.dg/cpp-shift.c +++ b/gcc/testsuite/gcc.dg/cpp-shift.c @@ -1,3 +1,5 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* { dg-do preprocess } */ /* Test shift operators. */ diff --git a/gcc/testsuite/gcc.dg/cpp-shortcircuit.c b/gcc/testsuite/gcc.dg/cpp-shortcircuit.c index d0c4647e7df..1607669f0b8 100644 --- a/gcc/testsuite/gcc.dg/cpp-shortcircuit.c +++ b/gcc/testsuite/gcc.dg/cpp-shortcircuit.c @@ -1,3 +1,5 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* { dg-do preprocess } */ /* Test that all operators correctly short circuit. */ diff --git a/gcc/testsuite/gcc.dg/cpp-unary.c b/gcc/testsuite/gcc.dg/cpp-unary.c index 03758aacf30..f5442afe88c 100644 --- a/gcc/testsuite/gcc.dg/cpp-unary.c +++ b/gcc/testsuite/gcc.dg/cpp-unary.c @@ -1,3 +1,5 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + /* { dg-do preprocess } */ /* Test the various unary operators. */ -- 2.30.2