Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
Anders Carlsson | 50b5a30 | 2007-10-31 23:18:02 +0000 | [diff] [blame] | 2 | |
3 | int test(void* i) | ||||
4 | { | ||||
5 | return (int)i; | ||||
6 | } | ||||
Chris Lattner | f31627f | 2008-07-23 06:31:27 +0000 | [diff] [blame] | 7 | |
8 | // rdar://6093986 | ||||
9 | int test2(void) { | ||||
10 | float x[2]; | ||||
11 | return x; | ||||
12 | } | ||||
13 |