summaryrefslogtreecommitdiffstats
path: root/Tests/Module/CheckIPOSupported-CXX/main.cpp
diff options
context:
space:
mode:
authorZsolt Parragi <zsolt.parragi@cancellar.hu>2019-08-13 12:29:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-30 15:30:38 (GMT)
commitc856d4556b4ec28cb818ef3c7aca1e4a30e0499d (patch)
treeaf46514551c74f62952d3d2d5cf2ca34171f9a1c /Tests/Module/CheckIPOSupported-CXX/main.cpp
parent079b8e29168dc081f37f79f3577a5c0690bb7051 (diff)
downloadCMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.zip
CMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.tar.gz
CMake-c856d4556b4ec28cb818ef3c7aca1e4a30e0499d.tar.bz2
bindexplib: supporting llvm bitcode formats using llvm-nm
Diffstat (limited to 'Tests/Module/CheckIPOSupported-CXX/main.cpp')
-rw-r--r--Tests/Module/CheckIPOSupported-CXX/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Module/CheckIPOSupported-CXX/main.cpp b/Tests/Module/CheckIPOSupported-CXX/main.cpp
index 99204ab..28ab26f 100644
--- a/Tests/Module/CheckIPOSupported-CXX/main.cpp
+++ b/Tests/Module/CheckIPOSupported-CXX/main.cpp
@@ -1,8 +1,9 @@
int foo();
+int bar();
int main()
{
- if (foo() == 0) {
+ if (foo() != bar()) {
return 1;
}
return 0;