diff options
Diffstat (limited to 'test/SemaCUDA/pr27778.cu')
-rw-r--r-- | test/SemaCUDA/pr27778.cu | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SemaCUDA/pr27778.cu b/test/SemaCUDA/pr27778.cu new file mode 100644 index 000000000000..101965bb98a2 --- /dev/null +++ b/test/SemaCUDA/pr27778.cu @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -fsyntax-only %s + +#include "Inputs/cuda.h" + +const int constint = 512; +__launch_bounds__(constint) void TestConstInt(void) {} |