aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/no-fixed-point.c
blob: fe88ca22c9faa22da5ec5b27e7f9e4475d64d86a (plain)
1
2
3
4
5
6
7
/// Assert the fixed point precision macros according to ISO/IEC TR 18037:2008 7.18a.3 are not
/// defined when -ffixed-point is not provided.

// RUN: %clang_cc1 -triple=x86_64 -E -dM -x c < /dev/null | FileCheck -match-full-lines %s
// RUN: %clang_cc1 -triple=x86_64 -E -dM -x c++ < /dev/null | FileCheck -match-full-lines %s

// CHECK-NOT:#define __SFRACT_FBIT__ 7