Clang Project

clang_source_code/test/SemaCUDA/config-type.cu
1// RUN: %clang_cc1 -target-sdk-version=8.0 -fsyntax-only -verify=legacy-launch %s
2// RUN: %clang_cc1 -target-sdk-version=9.2 -fsyntax-only -verify=new-launch %s
3
4// legacy-launch-error@+1 {{must have scalar return type}}
5void cudaConfigureCall(unsigned gridSize, unsigned blockSize);
6// new-launch-error@+1 {{must have scalar return type}}
7void __cudaPushCallConfiguration(unsigned gridSize, unsigned blockSize);
8