mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
13327bbe55
destructors. llvm-svn: 98440
11 lines
169 B
C++
11 lines
169 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
|
|
|
struct X { ~X(); };
|
|
template <typename T>
|
|
struct A {
|
|
struct B { X x; };
|
|
struct C : public B {
|
|
C() : B() { }
|
|
};
|
|
};
|