summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/named_ops.C
blob: 80e514992ecdce0a603f9d63440959acdcc11f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}