summaryrefslogtreecommitdiff
path: root/test/Coverage
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-04 18:47:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-04 18:47:06 +0000
commit5be028f84243e0f6906c259e67cbdaf9bee431b2 (patch)
tree93485434599f46dce3df349e9031759c311883b1 /test/Coverage
parent302c3c23905de41c3720158cca262e8f87e52014 (diff)
Revert r92431, this code isn't dead and broke the ntfs build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92493 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage')
-rw-r--r--test/Coverage/c-language-features.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Coverage/c-language-features.inc b/test/Coverage/c-language-features.inc
index bcf4127299..3548132500 100644
--- a/test/Coverage/c-language-features.inc
+++ b/test/Coverage/c-language-features.inc
@@ -179,3 +179,12 @@ void f8(x)
// Function which inputs an array
void f9(int x[]) { }
+
+// Object literals.
+void f10() {
+ struct f10_s0 {
+ char iv0[10];
+ } x;
+
+ x = (struct f10_s0) { .iv0 = "name" };
+}