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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
2
// PR c++/32190
3
 
4
template class foo{ };
5
 
6
int main() {
7
    foo i;
8
    // this column number is not accurate yet, but that will make it for now.
9
    foo j; // { dg-error "18:template argument 1 is invalid" }
10
    int k;
11
    int l;
12
    foo m;
13
    return 0;
14
    }

powered by: WebSVN 2.1.0

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