comparison clang/test/AST/fixed_point_to_string.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 // Tests without serialization:
1 // RUN: %clang_cc1 -ast-dump -ffixed-point %s | FileCheck %s 2 // RUN: %clang_cc1 -ast-dump -ffixed-point %s | FileCheck %s
2 // RUN: %clang_cc1 -ast-dump -ffixed-point -fpadding-on-unsigned-fixed-point %s | FileCheck %s 3 // RUN: %clang_cc1 -ast-dump -ffixed-point -fpadding-on-unsigned-fixed-point %s | FileCheck %s
4 //
5 // Tests with serialization:
6 // RUN: %clang_cc1 -ffixed-point -emit-pch -o %t %s
7 // RUN: %clang_cc1 -x c -ffixed-point -include-pch %t -ast-dump-all /dev/null \
8 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
9 // RUN: | FileCheck %s
10 //
11 // RUN: %clang_cc1 -ffixed-point -fpadding-on-unsigned-fixed-point -emit-pch -o %t %s
12 // RUN: %clang_cc1 -x c -ffixed-point -fpadding-on-unsigned-fixed-point -include-pch %t -ast-dump-all /dev/null \
13 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
14 // RUN: | FileCheck %s
3 15
4 /** 16 /**
5 * Check the same values are printed in the AST regardless of if unsigned types 17 * Check the same values are printed in the AST regardless of if unsigned types
6 * have the same number of fractional bits as signed types. 18 * have the same number of fractional bits as signed types.
7 */ 19 */