xref: /llvm-project/clang/test/Lexer/has_feature.cu (revision afc9d674fe5a14b95c50a38d8605a159c2460427)
1 // RUN: %clang_cc1 -E -triple x86_64-linux-gnu %s -o - | FileCheck %s
2 
3 // CHECK: has_noinline_keyword
4 #if __has_feature(cuda_noinline_keyword)
5 int has_noinline_keyword();
6 #else
7 int no_noinine_keyword();
8 #endif
9