named_ops.c: Remove.

testsuite:
	* gcc.dg/cpp/testsuite/named_ops.c: Remove.
	* g++.dg/parse/named_ops.C: New test.

From-SVN: r53814
This commit is contained in:
Neil Booth 2002-05-23 22:09:13 +00:00 committed by Neil Booth
parent b326b2c169
commit 13fa982ef7
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
2002-05-23 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/named_ops.c: New test.
* g++.dg/parse/named_ops.C: New test.
2002-05-23 Mark Mitchell <mark@codesourcery.com>

View File

@ -1,11 +1,13 @@
/* Copyright (C) 2002 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-do compile } */
/* { dg-options -fpreprocessed } */
/* Tests that C++ named ops are still there with -fpreprocessed. */
/* Source: Neil Booth, 23 May 2002. */
#if 2 xor 2
#endif
int main ()
{
return 2 xor 2;
}