diff options
Diffstat (limited to 'test/CXX/special/class.dtor/p3-0x.cpp')
-rw-r--r-- | test/CXX/special/class.dtor/p3-0x.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CXX/special/class.dtor/p3-0x.cpp b/test/CXX/special/class.dtor/p3-0x.cpp index 291353a..dc76e00 100644 --- a/test/CXX/special/class.dtor/p3-0x.cpp +++ b/test/CXX/special/class.dtor/p3-0x.cpp @@ -164,14 +164,16 @@ void tsw() { Sw<int> swi; Sw<B> swb; } -// CHECK-NOT: define linkonce_odr {{.*}} @_ZN2SwI1BED1Ev({{.*}} nounwind +// CHECK-NOT: define linkonce_odr {{.*}} @_ZN2SwI1BED1Ev({{.*}} # // CHECK: define linkonce_odr {{.*}} @_ZN2SwI1BED1Ev({{.*}} // CHECK: _ZTIi // CHECK: __cxa_call_unexpected -// CHECK: define linkonce_odr {{.*}} @_ZN2SwIiED1Ev({{.*}} nounwind +// CHECK: define linkonce_odr {{.*}} @_ZN2SwIiED1Ev({{.*}} [[ATTRGRP:#[0-9]+]] template <typename T> struct TVC : VX { virtual ~TVC(); }; template <typename T> TVC<T>::~TVC() {} + +// CHECK: attributes [[ATTRGRP]] = { nounwind{{.*}} } |