2021-11-22 15:24:16 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
constant int A = 1;
|
2022-02-09 23:55:51 +00:00
|
|
|
|
2021-11-22 15:24:16 +00:00
|
|
|
constant int _A = 2;
|
2022-02-09 23:55:51 +00:00
|
|
|
|
2021-11-22 15:24:16 +00:00
|
|
|
void f() {
|
|
|
|
int const B = A;
|
|
|
|
int const _B = _A;
|
|
|
|
}
|
|
|
|
|