From 4b5b0c0025c3238f7a8894ba1ac28b6f2394286a Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 30 Nov 2018 18:43:02 +0000 Subject: Move AST tests into their own test directory; NFC. This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory. llvm-svn: 348017 --- clang/test/Frontend/fixed_point_to_string.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 clang/test/Frontend/fixed_point_to_string.c (limited to 'clang/test/Frontend/fixed_point_to_string.c') diff --git a/clang/test/Frontend/fixed_point_to_string.c b/clang/test/Frontend/fixed_point_to_string.c deleted file mode 100644 index ad71d1024f5..00000000000 --- a/clang/test/Frontend/fixed_point_to_string.c +++ /dev/null @@ -1,21 +0,0 @@ -// RUN: %clang_cc1 -ast-dump -ffixed-point %s | FileCheck %s -// RUN: %clang_cc1 -ast-dump -ffixed-point -fpadding-on-unsigned-fixed-point %s | FileCheck %s - -/** - * Check the same values are printed in the AST regardless of if unsigned types - * have the same number of fractional bits as signed types. - */ - -unsigned short _Accum u_short_accum = 0.5uhk; -unsigned _Accum u_accum = 0.5uk; -unsigned long _Accum u_long_accum = 0.5ulk; -unsigned short _Fract u_short_fract = 0.5uhr; -unsigned _Fract u_fract = 0.5ur; -unsigned long _Fract u_long_fract = 0.5ulr; - -//CHECK: FixedPointLiteral {{.*}} 'unsigned short _Accum' 0.5 -//CHECK: FixedPointLiteral {{.*}} 'unsigned _Accum' 0.5 -//CHECK: FixedPointLiteral {{.*}} 'unsigned long _Accum' 0.5 -//CHECK: FixedPointLiteral {{.*}} 'unsigned short _Fract' 0.5 -//CHECK: FixedPointLiteral {{.*}} 'unsigned _Fract' 0.5 -//CHECK: FixedPointLiteral {{.*}} 'unsigned long _Fract' 0.5 -- cgit v1.2.3