[llvm-commits] [test-suite] r121327 - in /test-suite/trunk/SingleSource/Regression/C: 2010-12-08-tls.c 2010-12-08-tls.reference_output
Eric Christopher
echristo at apple.com
Wed Dec 8 16:25:53 PST 2010
Author: echristo
Date: Wed Dec 8 18:25:53 2010
New Revision: 121327
URL: http://llvm.org/viewvc/llvm-project?rev=121327&view=rev
Log:
Add a simple thread local storage test.
Added:
test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c
test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output
Added: test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c?rev=121327&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c (added)
+++ test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.c Wed Dec 8 18:25:53 2010
@@ -0,0 +1,6 @@
+extern const char *__crashreporter_info__;
+
+int main() {
+ __crashreporter_info__ = "foo";
+ return 0;
+}
Added: test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output?rev=121327&view=auto
==============================================================================
--- test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output (added)
+++ test-suite/trunk/SingleSource/Regression/C/2010-12-08-tls.reference_output Wed Dec 8 18:25:53 2010
@@ -0,0 +1,2 @@
+a is 4
+exit 0
More information about the llvm-commits
mailing list