aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libs/dlopen_testlib_simple.cpp
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2014-06-02 16:29:00 -0700
committerDmitriy Ivanov <dimitry@google.com>2014-06-17 15:08:53 -0700
commit1f5e1a3cbc564c593fe1090894ecdb070f36e20c (patch)
treee45c14c9ff5dcc7b5fb82cc3b38823edec84573d /tests/libs/dlopen_testlib_simple.cpp
parentb656410a73c4dfa2a3f8deba0a673080320f8605 (diff)
downloadandroid_bionic-1f5e1a3cbc564c593fe1090894ecdb070f36e20c.tar.gz
android_bionic-1f5e1a3cbc564c593fe1090894ecdb070f36e20c.tar.bz2
android_bionic-1f5e1a3cbc564c593fe1090894ecdb070f36e20c.zip
Move libraries for unit-tests to separate folder
Change-Id: I1653f3f2fd63ba25525369bc725c8f7438ecf021
Diffstat (limited to 'tests/libs/dlopen_testlib_simple.cpp')
-rw-r--r--tests/libs/dlopen_testlib_simple.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/libs/dlopen_testlib_simple.cpp b/tests/libs/dlopen_testlib_simple.cpp
new file mode 100644
index 000000000..afe54b4c0
--- /dev/null
+++ b/tests/libs/dlopen_testlib_simple.cpp
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <stdlib.h>
+
+uint32_t dlopen_testlib_taxicab_number = 1729;
+
+bool dlopen_testlib_simple_func() {
+ return true;
+}