[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / fixed_point_as_variables.c
blob1eb969a355d3b72249fb6f07a78a9fe5d458f4a6
1 // RUN: %clang_cc1 -x c -verify %s
2 // RUN: %clang_cc1 -x c -verify %s -ffixed-point -DFIXED_POINT=1
4 int _Accum;
6 #ifdef FIXED_POINT
7 // expected-error@4{{cannot combine with previous 'int' declaration specifier}}
8 // expected-warning@4{{declaration does not declare anything}}
9 #else
10 // expected-no-diagnostics
11 #endif