repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-240.cs
blob
feffcff430e6037efbe7a8bb88c9e5f2cfec9a60
1
#define C2
2
3
using
System
;
4
using
System
.
Diagnostics
;
5
6
class
TestClass
{
7
static int
return_code
=
1
;
8
9
[
Conditional
(
"C1"
),
Conditional
(
"C2"
)]
10
public static void
ConditionalMethod
()
11
{
12
Console
.
WriteLine
(
"Succeeded"
);
13
return_code
=
0
;
14
}
15
16
public static int
Main
()
17
{
18
ConditionalMethod
();
19
return
return_code
;
20
}
21
}