summaryrefslogtreecommitdiff
path: root/src/tests/elementary_cxx/cxx_dummy_compile_test.cc
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-02-09 21:24:33 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-02-09 21:24:33 -0200
commit80449ef83e29e1ccf83fa95e5a6d4781c169cea1 (patch)
treead2d2b9b00e11409cbdc4f3acc9c04efcfe1437b /src/tests/elementary_cxx/cxx_dummy_compile_test.cc
parent8e6e09aee863f120ff06fc0d2f7d349d9953dcd9 (diff)
elementary-cxx: Make C++ test compile a not used archive so linking can be avoided
Fixes linking errors for some older combos of C++ compiler and linker. T2838
Diffstat (limited to '')
-rw-r--r--src/tests/elementary_cxx/cxx_dummy_compile_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/elementary_cxx/cxx_dummy_compile_test.cc b/src/tests/elementary_cxx/cxx_dummy_compile_test.cc
new file mode 100644
index 0000000000..a25e6296a3
--- /dev/null
+++ b/src/tests/elementary_cxx/cxx_dummy_compile_test.cc
@@ -0,0 +1,5 @@
1
2int main()
3{
4 return 0;
5}