]> granicus.if.org Git - clang/commit
Add test for a construct we currently reject, constant-evaluating a load from a const...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 11 Apr 2012 23:32:29 +0000 (23:32 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 11 Apr 2012 23:32:29 +0000 (23:32 +0000)
commit16aac6f6eb31eb5118424773411867fc3cd5fbc6
tree433457c48571ea86386a155ad43e2c0c424aca35
parentc3fa98f67038bec98651f833b685c104ef6438ab
Add test for a construct we currently reject, constant-evaluating a load from a constant string.  Given that gcc doesn't accept this, we should continue to not accept it, even though it was accidentally supported by clang for a brief period.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154564 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/const-eval.c