xref: /llvm-project/clang/test/Preprocessor/no-fixed-point.c (revision ad49657a424db5e5979236ef5a474e93d827ab2c)
1 /// Assert the fixed point precision macros according to ISO/IEC TR 18037:2008 7.18a.3 are not
2 /// defined when -ffixed-point is not provided.
3 
4 // RUN: %clang_cc1 -triple=x86_64 -E -dM -x c < /dev/null | FileCheck -match-full-lines %s
5 // RUN: %clang_cc1 -triple=x86_64 -E -dM -x c++ < /dev/null | FileCheck -match-full-lines %s
6 
7 // CHECK-NOT:#define __SFRACT_FBIT__ 7
8