llvm-capstone/clang/test/SemaCUDA/pr27778.cu
Artem Belevich bcec9dac14 [CUDA] Add implicit conversion of __launch_bounds__ arguments to rvalue.
Fixes clang crash reported in PR27778.

Differential Revision: http://reviews.llvm.org/D20985

llvm-svn: 271951
2016-06-06 22:54:57 +00:00

7 lines
144 B
Plaintext

// RUN: %clang_cc1 -fsyntax-only %s
#include "Inputs/cuda.h"
const int constint = 512;
__launch_bounds__(constint) void TestConstInt(void) {}