repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add failing test for bnc550722
[mcs.git]
/
tests
/
test-240.cs
blob
219e70b7328ce586e3b06ad86d72d8d5494b8ccd
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
static int
Main
()
17
{
18
ConditionalMethod
();
19
return
return_code
;
20
}
21
}