summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/debug-info-rvalue-ref.cpp
blob: edb93ae46cda5c3570176a99eba661fa6515f8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -std=c++11 -emit-llvm -debug-info-kind=limited -triple x86_64-apple-darwin %s -o - | FileCheck %s

extern "C" {
extern int printf(const char * format, ...);
}
void foo (int &&i)
{
  printf("%d\n", i);
}

// CHECK: !DIDerivedType(tag: DW_TAG_rvalue_reference_type, baseType: ![[INT:[0-9]+]], size: 64, align: 64)
// CHECK: ![[INT]] = !DIBasicType(name: "int"
OpenPOWER on IntegriCloud