forked from OSchip/llvm-project
parent
e616fea3bc
commit
3b4f6c4a73
|
@ -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