| 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}} |
| 5 | void cudaConfigureCall(unsigned gridSize, unsigned blockSize); |
| 6 | // new-launch-error@+1 {{must have scalar return type}} |
| 7 | void __cudaPushCallConfiguration(unsigned gridSize, unsigned blockSize); |
| 8 |