
Since they'll likely (not always - if the address is taken, etc) be inlined away, even at -O0, separately provided weak definitions are likely to be unused so skip all of that. llvm-svn: 317279
12 lines
231 B
C++
12 lines
231 B
C++
#include "foo.h"
|
|
void non_modular_use_of_implicit_dtor() {
|
|
implicit_dtor d1;
|
|
uninst_implicit_dtor d2;
|
|
}
|
|
void use_of_instantiated_declaration_without_definition() {
|
|
inst<int>();
|
|
}
|
|
void call_always_inline() {
|
|
always_inl();
|
|
}
|