mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
This test is invalid
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6249261a9
commit
2b13055835
@ -1,12 +0,0 @@
|
||||
// RUN: %llvmgcc -xc++ -S -o - %s | grep %y | not grep constant
|
||||
|
||||
struct Y {
|
||||
int A;
|
||||
Y();
|
||||
};
|
||||
|
||||
// This global cannot be marked 'constant' because the ctor can modify it.
|
||||
extern const Y y;
|
||||
|
||||
void foo(...);
|
||||
int bar() { foo(&y); }
|
Loading…
Reference in New Issue
Block a user