commit | c69d454d5aa427279c73d9e8e157f246159ce683 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sun Jan 25 01:54:01 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sun Jan 25 01:54:01 2009 +0000 |
tree | 3124e52bde794e6348d58a05a3870e17b3877606 | |
parent | 529a99bcf4d2ac42d2ddff4909e3e7e61edf14b2 [diff] [blame] |
Make the constant folder aware of __builtin___CFStringMakeConstantString. (We get into trouble in GenerateStaticBlockVarDecl if the constant folder isn't accurate.) llvm-svn: 62949
diff --git a/clang/test/CodeGen/cfstring.c b/clang/test/CodeGen/cfstring.c index 7d7edec..3bd1a2d 100644 --- a/clang/test/CodeGen/cfstring.c +++ b/clang/test/CodeGen/cfstring.c
@@ -8,4 +8,6 @@ // rdar://6248329 void *G = CFSTR("yo joe"); - +void h() { + static void* h = CFSTR("Goodbye, World!"); +}