2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20091022-1_0.C
blobcb3f20a4ed2e374d67a3078eb68f5cf841c92b70
1 // { dg-lto-do link }
2 // { dg-extra-ld-options "-fwhole-program" }
4 template <int dim> 
5 struct AutoDerivativeFunction {
6     virtual void gradient_list (void);
7 };
8 template <int dim>
9 void AutoDerivativeFunction<dim>::gradient_list (void)
12 template class AutoDerivativeFunction<1>;
13 int main() {}