===================================================================
@@ -91,10 +91,10 @@
auto rfp = 1.0r; // { dg-error "fixed-point types not supported" }
auto Rfp = 1.0R; // { dg-error "fixed-point types not supported" }
- auto wfp = 1.0w;
- auto Wfp = 1.0W;
- auto qfp = 1.0q;
- auto Qfp = 1.0Q;
+ auto wfp = 1.0w; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto Wfp = 1.0W; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto qfp = 1.0q; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto Qfp = 1.0Q; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
}
// { dg-warning "literal operator suffixes not preceded by" "" { target *-*-* } 7 }
===================================================================
@@ -91,10 +91,10 @@
auto rfp = 1.0r; // { dg-error "fixed-point types not supported" }
auto Rfp = 1.0R; // { dg-error "fixed-point types not supported" }
- auto wfp = 1.0w;
- auto Wfp = 1.0W;
- auto qfp = 1.0q;
- auto Qfp = 1.0Q;
+ auto wfp = 1.0w; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto Wfp = 1.0W; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto qfp = 1.0q; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
+ auto Qfp = 1.0Q; // { dg-error "unsupported non-standard suffix on floating constant" "" { target { ! { ia64-*-* i?86-*-* x86_64-*-* } } } }
}
// { dg-warning "literal operator suffixes not preceded by" "" { target *-*-* } 7 }