gnu-inline.cu 254 B

12345678910
  1. // RUN: %clang_cc1 -fsyntax-only -verify %s
  2. #include "Inputs/cuda.h"
  3. // expected-no-diagnostics
  4. // Check that we can handle gnu_inline functions when compiling in CUDA mode.
  5. void foo();
  6. extern inline __attribute__((gnu_inline)) void bar() { foo(); }