diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-12 18:24:04 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-12 18:24:04 +0000 |
commit | ab340334dce9c99304382c48840f11019ba7d2b2 (patch) | |
tree | bd816b3a31a7127a9d3c06a3e4a0e32ec5462088 /clang | |
parent | f526b94858f20af5f213986bafd3fbf6b7864137 (diff) | |
download | bcm5719-llvm-ab340334dce9c99304382c48840f11019ba7d2b2.tar.gz bcm5719-llvm-ab340334dce9c99304382c48840f11019ba7d2b2.zip |
Revert "Remove bad debug info test."
This reverts commit r201183.
The test, albeit undocumented and badly written is still testing something
useful. It will be updated in a subsequent commit.
llvm-svn: 201247
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGenObjC/debug-property-synth.m | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-property-synth.m b/clang/test/CodeGenObjC/debug-property-synth.m new file mode 100644 index 00000000000..f4bc922f1bd --- /dev/null +++ b/clang/test/CodeGenObjC/debug-property-synth.m @@ -0,0 +1,20 @@ +// RUN: %clang_cc1 -triple %itanium_abi_triple -masm-verbose -S -g %s -o - | FileCheck %s +// Radar 9468526 +@interface I { + int _p1; +} +@property int p1; +@end + +@implementation I +@synthesize p1 = _p1; +@end + +int main() { + I *myi; + myi.p1 = 2; + return 0; +} + +// FIXME: Make this test ir files. +// CHECK: .loc 2 6 0 |