OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [lineno5.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
//
3
// Copyright (C) 2001 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 25 Jul 2001 
5
 
6
// Origin: johanb@DoCS.UU.SE
7
// Bug 3621. At the end of saved input, we'd set the lineno to
8
// zero. This would confusing things no end, if there was a subsequent
9
// error.
10
 
11
namespace tmp {
12
  typedef int B;
13
  B b;
14
}
15
 
16
class A {
17
  public:
18
  int kaka(tmp::B = b);         // { dg-error "" } no b in scope
19
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.