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;
|
|
|
|
}
|
|
|
|
|