test/CodeGenCXX/dllexport.cpp: we already correctly emit b() even when
it's not used, because CodeGenModule::EmitGlobal consults ASTContext::DeclMustBeEmitted via CodeGenModule::MayDeferGeneration. llvm-svn: 208936
This commit is contained in:
parent
d20c970aac
commit
4e43fef3e5
|
@ -18,8 +18,7 @@ struct S {
|
|||
};
|
||||
|
||||
void user() {
|
||||
// FIXME: dllexported functions must be emitted even if they're not referenced in this TU.
|
||||
a();
|
||||
b();
|
||||
// FIXME: dllexported methods must be emitted even if they're not referenced in this TU.
|
||||
&S::a;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue