[cfe-commits] r68245 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/CodeGen/CodeGenModule.cpp lib/Sema/SemaChecking.cpp test/SemaObjC/ucn-objc-string.m
Eli Friedman
eli.friedman at gmail.com
Wed Apr 1 16:34:08 PDT 2009
On Wed, Apr 1, 2009 at 2:16 PM, Steve Naroff <snaroff at apple.com> wrote:
> --- cfe/trunk/test/SemaObjC/ucn-objc-string.m (added)
> +++ cfe/trunk/test/SemaObjC/ucn-objc-string.m Wed Apr 1 16:16:31 2009
> @@ -0,0 +1,13 @@
> +// RUN: clang %s -verify -fsyntax-only
Shouldn't this be a CodeGen test rather than a Sema test?
> + at class NSString;
> +extern void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));
> +
> +int main() {
> + NSLog(@"Hi…");
> + NSLog(@"Exposé");
> + // FIXME: the following 2 are still not working (will investigate).
> + //NSLog(@"hello \u2192 \u2603 \u2190 world");
> + //NSLog(@"\U00010400\U0001D12B");
Not sure if it's relevant, but the generated strings aren't getting
properly null terminated...
-Eli
More information about the cfe-commits
mailing list