repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tree-core.h (omp_clause_code): Comments regarding range checks for OMP_CLAUSE_...
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail298.d
blob
aa4f9e84ee71fc76ee431ba679ebcf84b4f9c0d7
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail298.d(12): Error: cannot implicitly convert expression `num1 / cast(ulong)num2` of type `ulong` to `int`
5
---
6
*/
7
8
void
main
()
9
{
10
ulong
num1
=
100
;
11
int
num2
=
10
;
12
int
result
=
num1
/
num2
;
13
}