forked from OSchip/llvm-project
IR: Appease MSVC after r280107 with an & or two
Fixes the bot: http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/15192 llvm-svn: 280116
This commit is contained in:
parent
b37145712e
commit
d0c619944e
|
@ -25,7 +25,7 @@ bool sortByNameReverse(const GlobalVariable &L, const GlobalVariable &R) {
|
|||
|
||||
TEST(ModuleTest, sortGlobalsByName) {
|
||||
LLVMContext Context;
|
||||
for (auto compare : {sortByName, sortByNameReverse}) {
|
||||
for (auto compare : {&sortByName, &sortByNameReverse}) {
|
||||
Module M("M", Context);
|
||||
Type *T = Type::getInt8Ty(Context);
|
||||
GlobalValue::LinkageTypes L = GlobalValue::ExternalLinkage;
|
||||
|
|
Loading…
Reference in New Issue