Author: rafael
Date: Tue Nov 5 01:11:42 2013
New Revision: 194050
URL: http://llvm.org/viewvc/llvm-project?rev=194050&view=rev
Log:
Expand the test a bit.
Modified:
cfe/trunk/test/CodeGenCXX/destructors.cpp
Modified: cfe/trunk/test/CodeGenCXX/destructors.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/destructors.cpp?rev=194050&r1=194049&r2=194050&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/destructors.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/destructors.cpp Tue Nov 5 01:11:42 2013
@@ -10,6 +10,7 @@
// CHECK-DAG: @_ZN5test312_GLOBAL__N_11DD2Ev = alias internal bitcast {{.*}}
@_ZN5test312_GLOBAL__N_11CD2Ev
// CHECK-DAG: @_ZN5test312_GLOBAL__N_11CD1Ev = alias internal {{.*}}
@_ZN5test312_GLOBAL__N_11CD2Ev
// CHECK-DAG: @_ZN6PR752617allocator_derivedD1Ev = alias weak_odr void
(%"struct.PR7526::allocator_derived"*)* @_ZN6PR752617allocator_derivedD2Ev
+// CHECK-DAG: @_ZN6test106OptionD1Ev = alias weak_odr void
(%"struct.test10::Option"*)* @_ZN6test106OptionD2Ev
struct A {
int a;
@@ -365,7 +366,9 @@ namespace test9 {
}
namespace test10 {
- // Test that we don't crash.
+ // We used to crash trying to replace _ZN6test106OptionD1Ev with
+ // _ZN6test106OptionD2Ev twice. For now check that we don't try and produce
+ // an alias instead (check at the top of the file).
struct Option {
virtual ~Option() {}
};
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits