[llvm-branch-commits] [cfe-branch] r128261 - in /cfe/branches/release_29/test: PCH/cuda-kernel-call.cu Parser/cuda-kernel-call.cu SemaCUDA/
Bill Wendling
isanbard at gmail.com
Thu Mar 24 23:30:20 PDT 2011
Author: void
Date: Fri Mar 25 01:30:20 2011
New Revision: 128261
URL: http://llvm.org/viewvc/llvm-project?rev=128261&view=rev
Log:
These should have been removed before with r128225.
Removed:
cfe/branches/release_29/test/PCH/cuda-kernel-call.cu
cfe/branches/release_29/test/Parser/cuda-kernel-call.cu
cfe/branches/release_29/test/SemaCUDA/
Removed: cfe/branches/release_29/test/PCH/cuda-kernel-call.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_29/test/PCH/cuda-kernel-call.cu?rev=128260&view=auto
==============================================================================
--- cfe/branches/release_29/test/PCH/cuda-kernel-call.cu (original)
+++ cfe/branches/release_29/test/PCH/cuda-kernel-call.cu (removed)
@@ -1,25 +0,0 @@
-// RUN: %clang_cc1 -emit-pch -o %t %s
-// RUN: %clang_cc1 -include-pch %t -fsyntax-only %s
-
-#ifndef HEADER
-#define HEADER
-// Header.
-
-#include "../SemaCUDA/cuda.h"
-
-void kcall(void (*kp)()) {
- kp<<<1, 1>>>();
-}
-
-__global__ void kern() {
-}
-
-#else
-// Using the header.
-
-void test() {
- kcall(kern);
- kern<<<1, 1>>>();
-}
-
-#endif
Removed: cfe/branches/release_29/test/Parser/cuda-kernel-call.cu
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_29/test/Parser/cuda-kernel-call.cu?rev=128260&view=auto
==============================================================================
--- cfe/branches/release_29/test/Parser/cuda-kernel-call.cu (original)
+++ cfe/branches/release_29/test/Parser/cuda-kernel-call.cu (removed)
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-
-void foo(void) {
- foo<<<1; // expected-error {{expected '>>>'}} expected-note {{to match this '<<<'}}
-
- foo<<<1,1>>>; // expected-error {{expected '('}}
-
- foo<<<>>>(); // expected-error {{expected expression}}
-}
More information about the llvm-branch-commits
mailing list