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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [extern-c-redecl.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Contributed by Dodji Seketeli 
2
// Origin: PR c++/13699
3
// { dg-do compile }
4
 
5
namespace A {
6
    extern "C" void foo_func () throw(); // { dg-error "conflicts" }
7
}
8
// next line should trigger an error because
9
// it conflicts with previous declaration of foo_func (), due to
10
// different exception specifications.
11
extern "C" void foo_func (); // { dg-error "C language|exception specifications" }

powered by: WebSVN 2.1.0

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