projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
for mcs-lock
[cdsspec-compiler.git]
/
test.cc
diff --git
a/test.cc
b/test.cc
index 64a4e3b63c7a1034ac4c1140d8fd229fe4f26a44..56bc5546c28d0754ecd48157094eca5ce6b92b00 100644
(file)
--- a/
test.cc
+++ b/
test.cc
@@
-1,18
+1,3
@@
-class A {
- public:
- A() {
- }
-
-};
-
-
-int main() {
- A a;
- if (true) {
- int i = 5;
- }
- if (true) {
- int i = 1;
- }
- return 1;
+extern int test() {
+ return 10;
}