Properly remove this test file, that I copied over to test/SemaOpenCL in r173352.

llvm-svn: 173353
This commit is contained in:
Joey Gouly 2013-01-24 15:19:51 +00:00
parent f9283a51b8
commit 7b79dff544
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
// RUN: %clang_cc1 -x cl -O1 -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
// OpenCL essentially reduces all shift amounts to the last word-size bits before evaluating.
// Test this both for variables and constants evaluated in the front-end.
//CHECK: @array0 = common global [256 x i8]
char array0[((int)1)<<40];
//CHECK: @array1 = common global [256 x i8]
char array1[((int)1)<<(-24)];
//CHECK: @negativeShift32
int negativeShift32(int a,int b) {
//CHECK: ret i32 65536
return ((int)1)<<(-16);
}