diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-15 15:40:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-15 15:40:03 +0000 |
commit | 64601ce643e27e970a6360f00b5e911aa9953f9b (patch) | |
tree | d78b38285ac253ebaf5ad3271529f56fbd7c8417 /test/CodeGenCXX/new-alias.cpp | |
parent | 0ccadb2835d169e834ab9bb44bdb299fbf7de660 (diff) |
Don't depend on alias to declarations.
Accepting them is a bug (pr17535), not a feature.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/new-alias.cpp')
-rw-r--r-- | test/CodeGenCXX/new-alias.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCXX/new-alias.cpp b/test/CodeGenCXX/new-alias.cpp index 1ca4897000..7ddc1f9880 100644 --- a/test/CodeGenCXX/new-alias.cpp +++ b/test/CodeGenCXX/new-alias.cpp @@ -2,6 +2,9 @@ using size_t = decltype(sizeof(0)); +extern "C" char *something(long long x) { +} + // CHECK: @_Znwm = alias i8* (i64)* @something void *operator new(size_t) __attribute__((alias("something"))); |