[cfe-commits] r57930 - /cfe/trunk/test/Coverage/c-language-features.inc

Daniel Dunbar daniel at zuster.org
Tue Oct 21 14:32:38 PDT 2008


Author: ddunbar
Date: Tue Oct 21 16:32:38 2008
New Revision: 57930

URL: http://llvm.org/viewvc/llvm-project?rev=57930&view=rev
Log:
Add coverage of part of getPrimaryDecl that was failing prior to
previous commit.

Modified:
    cfe/trunk/test/Coverage/c-language-features.inc

Modified: cfe/trunk/test/Coverage/c-language-features.inc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/c-language-features.inc?rev=57930&r1=57929&r2=57930&view=diff

==============================================================================
--- cfe/trunk/test/Coverage/c-language-features.inc (original)
+++ cfe/trunk/test/Coverage/c-language-features.inc Tue Oct 21 16:32:38 2008
@@ -126,6 +126,7 @@
   
   struct { char f0[10]; } *t28;
   int t29 = t28 - t28;
+  char *t30 = &t28->f0[1];
 }
 
 // Extended vectors
@@ -139,7 +140,7 @@
 }
 
 void f6() {
-  char *s0 = __func__;
-  char *s1 = __FUNCTION__;
-  char *s2 = __PRETTY_FUNCTION__;
+  const char *s0 = __func__;
+  const char *s1 = __FUNCTION__;
+  const char *s2 = __PRETTY_FUNCTION__;
 }





More information about the cfe-commits mailing list