Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -std=c++11 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s |
Eric Christopher | fe0913b | 2012-05-19 01:36:50 +0000 | [diff] [blame] | 2 | |
| 3 | extern "C" { |
| 4 | extern int printf(const char * format, ...); |
| 5 | } |
| 6 | void foo (int &&i) |
| 7 | { |
| 8 | printf("%d\n", i); |
| 9 | } |
| 10 | |
Victor Leschuk | a7ece03 | 2016-10-20 00:13:19 +0000 | [diff] [blame] | 11 | // CHECK: !DIDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]], size: 64) |
Duncan P. N. Exon Smith | 9dd4e4e | 2015-04-29 16:40:08 +0000 | [diff] [blame] | 12 | // CHECK: ![[INT]] = !DIBasicType(name: "int" |