summaryrefslogtreecommitdiffstats
path: root/unittests/ADT/polymorphic_ptr_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/ADT/polymorphic_ptr_test.cpp')
-rw-r--r--unittests/ADT/polymorphic_ptr_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/unittests/ADT/polymorphic_ptr_test.cpp b/unittests/ADT/polymorphic_ptr_test.cpp
index e1e9c42..3606698 100644
--- a/unittests/ADT/polymorphic_ptr_test.cpp
+++ b/unittests/ADT/polymorphic_ptr_test.cpp
@@ -15,12 +15,12 @@ using namespace llvm;
namespace {
-TEST(polymorphic_ptr_test, Basic) {
- struct S {
- S(int x) : x(x) {}
- int x;
- };
+struct S {
+ S(int x) : x(x) {}
+ int x;
+};
+TEST(polymorphic_ptr_test, Basic) {
polymorphic_ptr<S> null;
EXPECT_FALSE((bool)null);
EXPECT_TRUE(!null);