Files
clang-p2996/lldb/test/functionalities/data-formatter/rdar-9974002/main.cpp
Enrico Granata 88da35f881 Improved the user-friendliness of errors shown by the summary feature in certain areas
Renamed format "signed decimal" to be "decimal". "unsigned decimal" remains unchanged:
 - the name "signed decimal" was interfering with symbol %S (use summary) in summary strings.
   because of the way summary strings are implemented, this did not really lead to a bug, but
   simply to performing more steps than necessary to display a summary. this is fixed.
Documentation improvements (more on synthetic children, some information on filters). This is still a WIP.

llvm-svn: 138384
2011-08-23 21:26:09 +00:00

31 lines
667 B
C++

//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <stdio.h>
struct contained
{
int first;
int second;
};
struct container
{
int scalar;
struct contained *pointer;
};
int main ()
{
struct container mine = {1, 0};
printf ("Mine's scalar is the only thing that is good: %d.\n", mine.scalar); // Set break point at this line.
return 0;
}