From: Andreas Jaeger Date: Sun, 6 Oct 2002 19:35:34 +0000 (+0200) Subject: c++98-pedantic.C: Moved to g++.dg/cpp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d725537d4e8bb87e0aff517387666d7f52af872;p=gcc.git c++98-pedantic.C: Moved to g++.dg/cpp. * gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp. * gcc.dg/cpp/c++98.C: Likewise. * g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here. * g++.dg/cpp/c++98.C: Likewise. * g++.dg/README (Subdirectories): Mention cpp directory. From-SVN: r57868 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 32dded375ef..324b3e6622f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2002-10-06 Andreas Jaeger + * gcc.dg/cpp/c++98-pedantic.C: Moved to g++.dg/cpp. + * gcc.dg/cpp/c++98.C: Likewise. + + * g++.dg/cpp/c++98-pedantic.C: Moved from gcc.dg/cpp to here. + * g++.dg/cpp/c++98.C: Likewise. + + * g++.dg/README (Subdirectories): Mention cpp directory. + PR target/7559 * gcc.dg/20021006-1.c: New test. diff --git a/gcc/testsuite/g++.dg/README b/gcc/testsuite/g++.dg/README index 073913f2056..b2a36fdf969 100644 --- a/gcc/testsuite/g++.dg/README +++ b/gcc/testsuite/g++.dg/README @@ -1,6 +1,7 @@ Subdirectories: abi Tests for ABI compatibility -- mangling, object layout, etc. +cpp Tests for the preprocessor. eh Tests for exception handling. expr Tests for expressions. ext Tests for GNU language extensions. diff --git a/gcc/testsuite/g++.dg/cpp/c++98-pedantic.C b/gcc/testsuite/g++.dg/cpp/c++98-pedantic.C new file mode 100644 index 00000000000..61e13c5d145 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp/c++98-pedantic.C @@ -0,0 +1,10 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ +/* { dg-options "-std=c++98 -pedantic" } */ + +/* This file is for testing the preprocessor in -std=c++98 -pedantic mode. + Neil Booth, 2 Dec 2000. */ + +#if 1LL /* { dg-warning "long long" } */ +#endif diff --git a/gcc/testsuite/g++.dg/cpp/c++98.C b/gcc/testsuite/g++.dg/cpp/c++98.C new file mode 100644 index 00000000000..0ec4f359f04 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp/c++98.C @@ -0,0 +1,10 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do preprocess } */ +/* { dg-options "-std=c++98" } */ + +/* This file is for testing the preprocessor in -std=c++98 mode. + Neil Booth, 2 Dec 2000. */ + +#if 1LL +#endif diff --git a/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C b/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C deleted file mode 100644 index 61e13c5d145..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.C +++ /dev/null @@ -1,10 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options "-std=c++98 -pedantic" } */ - -/* This file is for testing the preprocessor in -std=c++98 -pedantic mode. - Neil Booth, 2 Dec 2000. */ - -#if 1LL /* { dg-warning "long long" } */ -#endif diff --git a/gcc/testsuite/gcc.dg/cpp/c++98.C b/gcc/testsuite/gcc.dg/cpp/c++98.C deleted file mode 100644 index 0ec4f359f04..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/c++98.C +++ /dev/null @@ -1,10 +0,0 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options "-std=c++98" } */ - -/* This file is for testing the preprocessor in -std=c++98 mode. - Neil Booth, 2 Dec 2000. */ - -#if 1LL -#endif