1 // RUN: %clang_cc1 %s -verify -Wno-conversion -Wno-c++11-narrowing -Wimplicit-int-float-conversion
3 void testNoWarningOnNarrowing() {
4 // Test that we do not issue duplicated warnings for
6 float a
= {222222222222L}; // expected-no-diagnostics
8 long b
= 222222222222L;
9 float c
= {b
}; // expected-no-diagnostics