Skip to content

Commit

Permalink
New test.
Browse files Browse the repository at this point in the history
svn path=/trunk/mcs/; revision=148449
  • Loading branch information
marek-safar committed Dec 15, 2009
1 parent 047424b commit 6c82000
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions mcs/errors/cs0172-2.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// CS0172: Type of conditional expression cannot be determined as `byte' and `int' convert implicitly to each other
// Line: 9

public class Tester
{
public static void Main ()
{
byte x = 4;
var a = true ? x : 0;
}
}
2 changes: 1 addition & 1 deletion mcs/errors/cs0172.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// cs0172.cs: Can not compute type of conditional expression as `X' and `Y' convert implicitly to each other
// CS0172: Type of conditional expression cannot be determined as `X' and `Y' convert implicitly to each other
// Line: 25

class X {
Expand Down

0 comments on commit 6c82000

Please sign in to comment.