From: Neil Booth Date: Thu, 23 May 2002 22:09:13 +0000 (+0000) Subject: named_ops.c: Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13fa982ef775ad09fc9e5387c892c602470bf193;p=gcc.git named_ops.c: Remove. testsuite: * gcc.dg/cpp/testsuite/named_ops.c: Remove. * g++.dg/parse/named_ops.C: New test. From-SVN: r53814 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ae2f82f3b9..ae26d864ae1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,6 +1,6 @@ 2002-05-23 Neil Booth - * gcc.dg/cpp/named_ops.c: New test. + * g++.dg/parse/named_ops.C: New test. 2002-05-23 Mark Mitchell diff --git a/gcc/testsuite/g++.dg/parse/named_ops.C b/gcc/testsuite/g++.dg/parse/named_ops.C new file mode 100644 index 00000000000..80e514992ec --- /dev/null +++ b/gcc/testsuite/g++.dg/parse/named_ops.C @@ -0,0 +1,13 @@ +/* Copyright (C) 2002 Free Software Foundation, Inc. */ + +/* { dg-do compile } */ +/* { dg-options -fpreprocessed } */ + +/* Tests that C++ named ops are still there with -fpreprocessed. */ + +/* Source: Neil Booth, 23 May 2002. */ + +int main () +{ + return 2 xor 2; +} diff --git a/gcc/testsuite/gcc.dg/cpp/named_ops.c b/gcc/testsuite/gcc.dg/cpp/named_ops.c deleted file mode 100644 index d03684a5f10..00000000000 --- a/gcc/testsuite/gcc.dg/cpp/named_ops.c +++ /dev/null @@ -1,11 +0,0 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. */ - -/* { dg-do preprocess } */ -/* { dg-options -fpreprocessed } */ - -/* Tests that C++ named ops are still there with -fpreprocessed. */ - -/* Source: Neil Booth, 23 May 2002. */ - -#if 2 xor 2 -#endif