From 18d332d8ba1eb1077653ade055363081210e03a1 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Tue, 28 Nov 2017 15:01:58 -0800 Subject: [PATCH] Remove incorrect tests for stack allocation. --- test/core/support/reference_counted_test.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/core/support/reference_counted_test.cc b/test/core/support/reference_counted_test.cc index b1f79e61e6d..f6d2a2c3090 100644 --- a/test/core/support/reference_counted_test.cc +++ b/test/core/support/reference_counted_test.cc @@ -31,14 +31,6 @@ class Foo : public ReferenceCounted { Foo() {} }; -TEST(ReferenceCounted, StackAllocated) { Foo foo; } - -TEST(ReferenceCounted, StackAllocatedWithExtraRef) { - Foo foo; - foo.Ref(); - foo.Unref(); -} - TEST(ReferenceCounted, HeapAllocated) { Foo* foo = New(); foo->Unref();