summaryrefslogtreecommitdiffstats
path: root/Tests/Architecture/bar.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-21 17:01:17 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-21 17:01:17 (GMT)
commite4897a78b9a325537117a57243c65d82774694fc (patch)
tree4ed2cbc49125bd9b28d70393bba34ca89f3bbe30 /Tests/Architecture/bar.c
parent2dc39b8c329425cb54e5e111e2b00d79caa1db36 (diff)
downloadCMake-e4897a78b9a325537117a57243c65d82774694fc.zip
CMake-e4897a78b9a325537117a57243c65d82774694fc.tar.gz
CMake-e4897a78b9a325537117a57243c65d82774694fc.tar.bz2
Test OSX_ARCHITECTURES target property
We test the property with a project that fails to link due to an architecture mismatch between an executable and a static library. See issue #8725.
Diffstat (limited to 'Tests/Architecture/bar.c')
-rw-r--r--Tests/Architecture/bar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Architecture/bar.c b/Tests/Architecture/bar.c
new file mode 100644
index 0000000..923c89c
--- /dev/null
+++ b/Tests/Architecture/bar.c
@@ -0,0 +1,2 @@
+extern int foo(void);
+int main() { return foo(); }