commit | 8591a7f5215f6469603e6bc8f4fdbcc78e215ab9 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Sun Oct 02 23:49:15 2011 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Sun Oct 02 23:49:15 2011 +0000 |
tree | e99806082ae238b244b91942709764bc87ab3928 | |
parent | 80d2355df4a87b52412cc7481496c4a4eccd3db1 [diff] [blame] |
CUDA: diagnose unconfigured calls to global functions git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140975 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCUDA/kernel-call.cu b/test/SemaCUDA/kernel-call.cu index 7bc7ae1..9a22aa7 100644 --- a/test/SemaCUDA/kernel-call.cu +++ b/test/SemaCUDA/kernel-call.cu
@@ -13,6 +13,7 @@ int main(void) { g1<<<1, 1>>>(42); + g1(42); // expected-error {{call to global function g1 not configured}} t1(1);