1// PR c++/17163 2// { dg-options "-frepo" } 3 4template <int __inst> 5struct __Atomicity_lock 6{ 7 static unsigned char _S_atomicity_lock; 8}; 9template <int __inst> 10unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0; 11template unsigned char __Atomicity_lock<0>::_S_atomicity_lock; 12 13int main () { 14} 15 16// { dg-final { cleanup-repo-files } } 17