Chris Lattner | 4d150c8 | 2009-04-30 06:18:40 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -triple=x86_64-apple-darwin9 -fnext-runtime -emit-llvm -o %t %s && |
Anders Carlsson | c612f7b | 2009-04-09 21:55:45 +0000 | [diff] [blame] | 2 | |
| 3 | // RUN: grep ji %t | count 1 && |
| 4 | char *a = @encode(_Complex int); |
| 5 | |
| 6 | // RUN: grep jf %t | count 1 && |
| 7 | char *b = @encode(_Complex float); |
| 8 | |
Chris Lattner | 2df9ced | 2009-04-30 02:43:43 +0000 | [diff] [blame] | 9 | // RUN: grep jd %t | count 1 && |
Anders Carlsson | c612f7b | 2009-04-09 21:55:45 +0000 | [diff] [blame] | 10 | char *c = @encode(_Complex double); |
| 11 | |
Chris Lattner | 2df9ced | 2009-04-30 02:43:43 +0000 | [diff] [blame] | 12 | // RUN: grep "t.00" %t | count 1 && |
| 13 | char *e = @encode(__int128_t); |
| 14 | |
| 15 | // RUN: grep "T.00" %t | count 1 |
| 16 | char *f = @encode(__uint128_t); |