Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Lexer / has_feature_experimental_library.cpp
blob98921ef62afcc925fc7e7224f4cd5030e20de2c2
1 // RUN: %clang_cc1 -E -fexperimental-library %s -o - | FileCheck --check-prefix=CHECK-EXPERIMENTAL %s
2 // RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-EXPERIMENTAL %s
4 #if __has_feature(experimental_library)
5 int has_experimental_library();
6 #else
7 int has_no_experimental_library();
8 #endif
9 // CHECK-EXPERIMENTAL: int has_experimental_library();
10 // CHECK-NO-EXPERIMENTAL: int has_no_experimental_library();