Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: gcc/gcc/testsuite/g++.dg/template/repo2.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/ref1.C ('k') | gcc/gcc/testsuite/g++.dg/template/repo4.C » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // PR c++/17163 1 // PR c++/17163
2 // { dg-options "-frepo" } 2 // { dg-options "-frepo" }
3 // { dg-require-host-local "" } 3 // { dg-require-host-local "" }
4 // { dg-skip-if "dkms are not final links" { vxworks_kernel } }
4 5
5 template <int __inst> 6 template <int __inst>
6 struct __Atomicity_lock 7 struct __Atomicity_lock
7 { 8 {
8 static unsigned char _S_atomicity_lock; 9 static unsigned char _S_atomicity_lock;
9 }; 10 };
10 template <int __inst> 11 template <int __inst>
11 unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0; 12 unsigned char __Atomicity_lock<__inst>::_S_atomicity_lock = 0;
12 template unsigned char __Atomicity_lock<0>::_S_atomicity_lock; 13 template unsigned char __Atomicity_lock<0>::_S_atomicity_lock;
13 14
14 int main () { 15 int main () {
15 } 16 }
16 17
17 // { dg-final { cleanup-repo-files } } 18 // { dg-final { cleanup-repo-files } }
OLDNEW
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/ref1.C ('k') | gcc/gcc/testsuite/g++.dg/template/repo4.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698