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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [rtti/] [darwin-builtin-linkage.C] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-do compile { target *-*-darwin* } } */
2
/* { dg-final { scan-assembler-not "\\.weak_definition __ZTI" } } */
3
 
4
/* Verify that none of the type_info structures for the fundamental
5
   types are emitted as weak on Darwin.  */
6
 
7
#include 
8
 
9
namespace __cxxabiv1 {
10
 
11
using namespace std;
12
 
13
// This has special meaning to the compiler, and will cause it
14
// to emit the type_info structures for the fundamental types which are
15
// mandated to exist in the runtime.
16
__fundamental_type_info::
17
~__fundamental_type_info ()
18
{}
19
 
20
}

powered by: WebSVN 2.1.0

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