blob: f134624eec19837c09fa45c99713940356220453 [file] [log] [blame]
Peter Collingbourne6c0aa5f2011-10-06 18:29:37 +00001// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3#include "../SemaCUDA/cuda.h"
4
5__global__ void g1(int x) {}
6
7int main(void) {
8 // CHECK: call{{.*}}cudaConfigureCall
9 // CHECK: icmp
10 // CHECK: br
11 // CHECK: call{{.*}}g1
12 g1<<<1, 1>>>(42);
13}