diff options
author | Xinliang David Li <davidxl@google.com> | 2016-02-17 00:59:01 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-02-17 00:59:01 +0000 |
commit | 7b77e335d16966410a1cac310a418581645c59b2 (patch) | |
tree | 8adf164c0109123d5681f07c1375fcadac512a2d /test/Profile | |
parent | 2ca445b9e4bce01dd61b39374e491f747a8c40f3 (diff) |
Test simplification
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Profile')
-rw-r--r-- | test/Profile/def-assignop.cpp | 5 |
1 files 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<A &&>(a1); - return 0; } |