summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-move/Inputs/function_test.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-11-16 13:05:19 +0000
committerHaojian Wu <hokein@google.com>2016-11-16 13:05:19 +0000
commit4543feceb397a562feca7ed61b14731add849c82 (patch)
tree8801c650f054d0acce259fdba1927d738f920808 /clang-tools-extra/test/clang-move/Inputs/function_test.cpp
parentf9889f22a91bc5e8a1e8ab989645e341e78a40de (diff)
downloadbcm5719-llvm-4543feceb397a562feca7ed61b14731add849c82.tar.gz
bcm5719-llvm-4543feceb397a562feca7ed61b14731add849c82.zip
[clang-move] Support moving function.
Reviewers: ioeric Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D26665 llvm-svn: 287101
Diffstat (limited to 'clang-tools-extra/test/clang-move/Inputs/function_test.cpp')
-rw-r--r--clang-tools-extra/test/clang-move/Inputs/function_test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-move/Inputs/function_test.cpp b/clang-tools-extra/test/clang-move/Inputs/function_test.cpp
new file mode 100644
index 00000000000..5e86f5904a5
--- /dev/null
+++ b/clang-tools-extra/test/clang-move/Inputs/function_test.cpp
@@ -0,0 +1,5 @@
+#include "function_test.h"
+
+void f() {}
+
+void A::f() {}
OpenPOWER on IntegriCloud