Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/template/repo2.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 // PR c++/17163 | |
2 // { dg-options "-frepo" } | |
3 // { dg-require-host-local "" } | |
4 // { dg-skip-if "dkms are not final links" { vxworks_kernel } } | |
5 | |
6 template <int __inst> | |
7 struct __Atomicity_lock | |
8 { | |
9 static unsigned char _S_atomicity_lock; | |
10 }; | |
11 template <int __inst> | |
12 unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0; | |
13 template unsigned char __Atomicity_lock<0>::_S_atomicity_lock; | |
14 | |
15 int main () { | |
16 } | |
17 | |
18 // { dg-final { cleanup-repo-files } } |