summaryrefslogtreecommitdiff
path: root/cfversion.mm
diff options
context:
space:
mode:
Diffstat (limited to 'cfversion.mm')
-rw-r--r--cfversion.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/cfversion.mm b/cfversion.mm
new file mode 100644
index 0000000..6be6c71
--- /dev/null
+++ b/cfversion.mm
@@ -0,0 +1,7 @@
+#include <CoreFoundation/CoreFoundation.h>
+#include <cstdio>
+
+int main() {
+ printf("%.2f\n", kCFCoreFoundationVersionNumber);
+ return 0;
+}