Add a testcase for a recent regression.

Thanks to Bill Wendling for the original testcase.

llvm-svn: 180586
This commit is contained in:
Rafael Espindola 2013-04-26 00:29:11 +00:00
parent 004e823539
commit 1a7902c767
1 changed files with 9 additions and 0 deletions

View File

@ -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[] = {
};
}
}