File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,20 @@ __bf16 h = 1.BF1; // expected-error{{invalid suffix 'BF1' on floating constant}}
1111
1212__bf16 i = 1 .bf16 ; // expect-success
1313__bf16 j = 1 .BF16; // expect-success
14+
15+ __bf16 k = 1B; // expected-error{{invalid digit 'B' in decimal constant}}
16+ __bf16 l = 1BF; // expected-error{{invalid digit 'B' in decimal constant}}
17+ __bf16 m = 1BF166; // expected-error{{invalid digit 'B' in decimal constant}}
18+ __bf16 n = 1BF1; // expected-error{{invalid digit 'B' in decimal constant}}
19+
20+ __bf16 o = 1b; // expected-error{{invalid digit 'b' in decimal constant}}
21+ __bf16 p = 1bf; // expected-error{{invalid digit 'b' in decimal constant}}
22+ __bf16 q = 1bf166; // expected-error{{invalid digit 'b' in decimal constant}}
23+ __bf16 r = 1bf1; // expected-error{{invalid digit 'b' in decimal constant}}
24+
25+ __bf16 s = 1bf16; // expected-error{{invalid digit 'b' in decimal constant}}
26+ __bf16 t = 1BF16; // expected-error{{invalid digit 'B' in decimal constant}}
27+
28+ __bf16 u = 1 .bf16F16; // expected-error{{invalid suffix 'bf16F16' on floating constant}}
29+ __bf16 v = 1 .BF16f16; // expected-error{{invalid suffix 'BF16f16' on floating constant}}
30+ __bf16 w = 1 .F16bf16; // expected-error{{invalid suffix 'F16bf16' on floating constant}}
You can’t perform that action at this time.
0 commit comments