Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/pch/static-1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 #include "static-1.H" | 1 #include "static-1.H" |
2 int LocalStaticTest() | 2 int LocalStaticTest() |
3 { | 3 { |
4 static A sa; | 4 static A sa; |
5 return 0; | |
5 } | 6 } |
6 | 7 |
7 int main(int argc, char **argv) | 8 int main(int argc, char **argv) |
8 { | 9 { |
9 A::StaticTest(); | 10 A::StaticTest(); |
11 return 0; | |
10 } | 12 } |