diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-13 05:02:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-13 05:02:08 +0000 |
commit | 8f12f65fad7bfbbdbd4234efe0d484f68c3924b6 (patch) | |
tree | d5f8f91495b196ab53488e910197f1c5ff1383db /test/Sema/types.c | |
parent | 01ad39e42de07f9a81fba986e6a045a3904ef7a9 (diff) |
reject use of the GNU _Decimal32 extension with a diagnostic, not an abort.
rdar://6880104
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/types.c')
-rw-r--r-- | test/Sema/types.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/types.c b/test/Sema/types.c index 7ab4e0672c..1232e472ea 100644 --- a/test/Sema/types.c +++ b/test/Sema/types.c @@ -30,3 +30,7 @@ int i[(short)1]; enum e { e_1 }; extern int j[sizeof(enum e)]; // expected-note {{previous definition}} int j[42]; // expected-error {{redefinition of 'j' with a different type}} + +// rdar://6880104 +_Decimal32 x; // expected-error {{GNU decimal type extension not supported}} + |