diff options
author | Leonard Chan <leonardchan@google.com> | 2018-06-02 03:27:13 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2018-06-02 03:27:13 +0000 |
commit | 0d485dbb40b151ae20e6a8133d46a12c9fddd1fe (patch) | |
tree | 15ec55bb97a84f42ea7b4775f2ef1082db49830e /clang/test/Frontend/fixed_point_errors.c | |
parent | db55d8331e631e84b07e6fbad923085b4baa9597 (diff) | |
download | bcm5719-llvm-0d485dbb40b151ae20e6a8133d46a12c9fddd1fe.tar.gz bcm5719-llvm-0d485dbb40b151ae20e6a8133d46a12c9fddd1fe.zip |
Revert "This diff includes changes for supporting the following types."
This reverts commit r333814, which fails for a test checking the bit
width on ubuntu.
llvm-svn: 333815
Diffstat (limited to 'clang/test/Frontend/fixed_point_errors.c')
-rw-r--r-- | clang/test/Frontend/fixed_point_errors.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/clang/test/Frontend/fixed_point_errors.c b/clang/test/Frontend/fixed_point_errors.c deleted file mode 100644 index 0158dc68c42..00000000000 --- a/clang/test/Frontend/fixed_point_errors.c +++ /dev/null @@ -1,27 +0,0 @@ -// RUN: %clang_cc1 -verify -ffixed-point %s - -/* We do not yet support long long. No recommended bit widths are given for this - * size. */ - -long long _Accum longlong_accum; // expected-error{{'long long _Accum' is invalid}} -unsigned long long _Accum u_longlong_accum; // expected-error{{'long long _Accum' is invalid}} - -/* Although _Complex types work with floating point numbers, the extension - * provides no info for complex fixed point types. */ - -_Complex signed short _Accum cmplx_s_short_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex signed _Accum cmplx_s_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex signed long _Accum cmplx_s_long_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex unsigned short _Accum cmplx_u_short_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex unsigned _Accum cmplx_u_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex unsigned long _Accum cmplx_u_long_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex short _Accum cmplx_s_short_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex _Accum cmplx_s_accum; // expected-error{{'_Complex _Accum' is invalid}} -_Complex long _Accum cmplx_s_long_accum; // expected-error{{'_Complex _Accum' is invalid}} - -/* Bad combinations */ -float _Accum f_accum; // expected-error{{cannot combine with previous 'float' declaration specifier}} -double _Accum d_accum; // expected-error{{cannot combine with previous 'double' declaration specifier}} -_Bool _Accum b_accum; // expected-error{{cannot combine with previous '_Bool' declaration specifier}} -char _Accum c_accum; // expected-error{{cannot combine with previous 'char' declaration specifier}} -int _Accum i_accum; // expected-error{{cannot combine with previous 'int' declaration specifier}} |