From 7b77e335d16966410a1cac310a418581645c59b2 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Wed, 17 Feb 2016 00:59:01 +0000 Subject: [PATCH] Test simplification git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261047 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Profile/def-assignop.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Profile/def-assignop.cpp b/test/Profile/def-assignop.cpp index 50537f0e05..2d453364a5 100644 --- a/test/Profile/def-assignop.cpp +++ b/test/Profile/def-assignop.cpp @@ -24,9 +24,8 @@ struct A { B b; }; -int main() { - A a1, a2; +A a1, a2; +void foo() { a1 = a2; a2 = static_cast(a1); - return 0; } -- 2.40.0