summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash37.C
blob: 900fd72cd9e5b458bfea202cc6a417eeb4f2e285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble  }

// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 23 Nov 2000 <nathan@codesourcery.com>

// bug 706. We iced when meeting a decl with type error-mark-node

class bifstream;


int main()
{
  bifstream bifs;   // { dg-error "" } incomplete type
  if (!bifs)
    {
    }
  return 0;
}