summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/static26.C
blob: 095248bace4dde079fa230fdeb955fdf6fdb8fe5 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/28016
// { dg-final { scan-assembler-not "computed" } }

template<class T1, class T2>
struct scalar_divides_assign {
  static const bool computed ;
};

template<class T1, class T2>
const bool scalar_divides_assign<T1,T2>::computed = true;