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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.oliva/] [template6.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// { dg-do assemble  }
2
 
3
// Copyright (C) 1999 Free Software Foundation
4
 
5
// by Alexandre Oliva 
6
// simplified from bug report by Meenaradchagan Vishnu 
7
 
8
template  struct foo {};
9
template <> void foo(); // { dg-error "not a template function" } bad specialization
10
 
11
struct baz {};
12
template <> void baz (); // { dg-error "not a template function" } bad specialization

powered by: WebSVN 2.1.0

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