summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20091022-1_0.C
blob: cb3f20a4ed2e374d67a3078eb68f5cf841c92b70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-lto-do link }
// { dg-extra-ld-options "-fwhole-program" }

template <int dim> 
struct AutoDerivativeFunction {
    virtual void gradient_list (void);
};
template <int dim>
void AutoDerivativeFunction<dim>::gradient_list (void)
{
}
template class AutoDerivativeFunction<1>;
int main() {}