summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/conv2.C
blob: 45f518346956cbc45fe9389bbb943a6becde2eb1 (plain)
1
2
3
4
5
// PR c++/13932
// { dg-options "-Wconversion" }

int i = 1.;
int j = 1.1; // { dg-warning "conversion" }