diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-01-25 01:54:01 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-01-25 01:54:01 +0000 |
commit | c69d454d5aa427279c73d9e8e157f246159ce683 (patch) | |
tree | 3124e52bde794e6348d58a05a3870e17b3877606 /clang/test/CodeGen/cfstring.c | |
parent | 529a99bcf4d2ac42d2ddff4909e3e7e61edf14b2 (diff) | |
download | bcm5719-llvm-c69d454d5aa427279c73d9e8e157f246159ce683.tar.gz bcm5719-llvm-c69d454d5aa427279c73d9e8e157f246159ce683.zip |
Make the constant folder aware of
__builtin___CFStringMakeConstantString. (We get into trouble in
GenerateStaticBlockVarDecl if the constant folder isn't accurate.)
llvm-svn: 62949
Diffstat (limited to 'clang/test/CodeGen/cfstring.c')
-rw-r--r-- | clang/test/CodeGen/cfstring.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/cfstring.c b/clang/test/CodeGen/cfstring.c index 7d7edeca3cb..3bd1a2d1834 100644 --- a/clang/test/CodeGen/cfstring.c +++ b/clang/test/CodeGen/cfstring.c @@ -8,4 +8,6 @@ void f() { // rdar://6248329 void *G = CFSTR("yo joe"); - +void h() { + static void* h = CFSTR("Goodbye, World!"); +} |