]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/cfstring-and-cstring/bar.c
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / cfstring-and-cstring / bar.c
diff --git a/unit-tests/test-cases/cfstring-and-cstring/bar.c b/unit-tests/test-cases/cfstring-and-cstring/bar.c
new file mode 100644 (file)
index 0000000..3441ce9
--- /dev/null
@@ -0,0 +1,14 @@
+#include <CoreFoundation/CFString.h>
+
+
+//
+// llvm may make cfstring that has backing store of kTest
+//
+
+
+const char kTest[] = "test";
+
+void bar()
+{
+       CFStringGetLength(CFSTR("test"));
+}