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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error14.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-fshow-column" }
2
// PR c++/13970
3
 
4
struct X
5
{
6
    template< typename Z > Z Zunc()
7
    {
8
        return Z();
9
    }
10
 
11
    template< typename Z > void Zinc()
12
    {
13
    }
14
 
15
    void tst()
16
    {
17
        Zunc();
18
 
19
        Zinc( //);
20
                  //    }
21
 
22
}; // { dg-error "2:expected '.' at end of input" "at end of input" }
23
   // { dg-error "1:expected primary-expression before '.' token" "primary" { target *-*-* } 22 }
24
   // { dg-error "1:expected unqualified-id" "unqualified-id" { target *-*-* } 22 }
25
   // { dg-error "1:expected ';' before '.' token" "function" { target *-*-* } 22 }
26
 

powered by: WebSVN 2.1.0

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