jit: Fix Darwin bootstrap after r15-1699.
[official-gcc.git] / gcc / testsuite / g++.dg / rtti / darwin-builtin-linkage.C
blob6db161169d8fdf216da13823d2e293e8ed5d0af9
1 /* { dg-do compile { target *-*-darwin* } } */
2 /* { dg-final { scan-assembler-not "\\.weak_definition __ZTI" } } */
4 /* Verify that none of the type_info structures for the fundamental
5    types are emitted as weak on Darwin.  */
7 #include <cxxabi.h>
9 namespace __cxxabiv1 {
11 using namespace std;
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 ()