r180586 - Add a testcase for a recent regression.
Rafael Espindola
rafael.espindola at gmail.com
Thu Apr 25 17:29:11 PDT 2013
Author: rafael
Date: Thu Apr 25 19:29:11 2013
New Revision: 180586
URL: http://llvm.org/viewvc/llvm-project?rev=180586&view=rev
Log:
Add a testcase for a recent regression.
Thanks to Bill Wendling for the original testcase.
Modified:
cfe/trunk/test/SemaCXX/linkage.cpp
Modified: cfe/trunk/test/SemaCXX/linkage.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/linkage.cpp?rev=180586&r1=180585&r2=180586&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/linkage.cpp (original)
+++ cfe/trunk/test/SemaCXX/linkage.cpp Thu Apr 25 19:29:11 2013
@@ -94,3 +94,12 @@ extern "C" {
// CHECK: define linkonce_odr i8* @_ZN5test21A1BILj0EE3fooEv(
// CHECK: define linkonce_odr i8* @_ZN5test11A3fooILj0EEEPvv(
+
+namespace test5 {
+ struct foo {
+ };
+ extern "C" {
+ const foo bar[] = {
+ };
+ }
+}
More information about the cfe-commits
mailing list