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