mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
9275e14379
Fixed regression in test builtin-amdgcn-atomic-inc-dec-failure.cpp.
10 lines
340 B
Plaintext
10 lines
340 B
Plaintext
// RUN: %clang_cc1 %s --std=c++11 -triple nvptx -emit-llvm -o - \
|
|
// RUN: -verify -fcuda-is-device -fsyntax-only -verify-ignore-unexpected=note
|
|
|
|
#include "Inputs/cuda.h"
|
|
|
|
__global__ void kernel1();
|
|
__global__ void kernel2() {
|
|
kernel1<<<1,1>>>(); // expected-error {{reference to __global__ function 'kernel1' in __global__ function}}
|
|
}
|