
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
16 lines
504 B
C++
16 lines
504 B
C++
// RUN: %clang_cc1 -emit-llvm -gdwarf-2 -x c++ -o - %s | FileCheck %s
|
|
//
|
|
// PR21941: crasher for self-referencing DW_TAG_structure_type node. If we get
|
|
// rid of self-referenceing structure_types (PR21902), then it should be safe
|
|
// to just kill this test.
|
|
//
|
|
// CHECK: ![[SELF:[0-9]+]] = distinct !{!"0x13\00B\00{{[^"]*}}", {{[^,]+}}, {{[^,]+}}, {{[^,]+}}, {{[^,]+}}, ![[SELF]], {{[^}]+}}} ; [ DW_TAG_structure_type ] [B]
|
|
|
|
void foo() {
|
|
struct V {
|
|
int vi;
|
|
};
|
|
struct B : virtual V {};
|
|
B b;
|
|
}
|