projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534ace0
)
Test simplification
author
Xinliang David Li
<davidxl@google.com>
Wed, 17 Feb 2016 00:59:01 +0000
(
00:59
+0000)
committer
Xinliang David Li
<davidxl@google.com>
Wed, 17 Feb 2016 00:59:01 +0000
(
00:59
+0000)
llvm-svn: 261047
clang/test/Profile/def-assignop.cpp
patch
|
blob
|
history
diff --git
a/clang/test/Profile/def-assignop.cpp
b/clang/test/Profile/def-assignop.cpp
index
50537f0
..
2d45336
100644
(file)
--- a/
clang/test/Profile/def-assignop.cpp
+++ b/
clang/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;
}