projects
/
platform
/
upstream
/
gcc48.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wtype-limits.C
diff --git
a/gcc/testsuite/g++.dg/warn/Wtype-limits.C
b/gcc/testsuite/g++.dg/warn/Wtype-limits.C
index
814c2a8
..
a352e7b
100644
(file)
--- a/
gcc/testsuite/g++.dg/warn/Wtype-limits.C
+++ b/
gcc/testsuite/g++.dg/warn/Wtype-limits.C
@@
-66,7
+66,7
@@
int test (int x)
template <typename Int, Int D>
void f(Int x) {
- assert(0 <= x and x <= D);
// { dg-warning "comparison is always true due to limited range of data type" }
+ assert(0 <= x and x <= D);
}
int ff(void) {